githubuser0xFFFF / Qt-Advanced-Docking-System

Advanced Docking System for Qt
GNU Lesser General Public License v2.1
1.87k stars 548 forks source link

The floating window can not back to normal size after maximizing it. #642

Closed xiterator closed 3 months ago

xiterator commented 4 months ago

If we make a DockWidget in a floating and click the fullscreen button (from the demo CMainWindow::createTableWidget ), then the fullscreen window will not come back to normal size even if we click the fullscreen button again or many times. It can affect user's experience.

The bug is in the following code: void CFloatingDockContainer::showNormal(bool fixGeometry) { /*

githubuser0xFFFF commented 4 months ago

Wich OS / Linux Distribution and which Qt version?

xiterator commented 4 months ago

Ubuntu 22.04.3 LTS, QT 6.7.1

githubuser0xFFFF commented 4 months ago

Wayland or X11?

xiterator commented 4 months ago

x11 by running echo $XDG_SESSION_TYPE

githubuser0xFFFF commented 3 months ago

Added your changes to master