Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
4.8.x, 5.6.2, 5.12.0, 5.13.1
-
None
-
Windows 10, MinGW 5.3 / MSVC 2015 / MSVC 2017
Description
A maximized widget with Qt::Window flag is not correctly restored when parent window is minimized and restored back.
Repro code:
#include <QApplication> #include <QWidget> int main(int argc, char *argv[]) { QApplication a(argc, argv); QWidget parent; QWidget child(&parent, Qt::Window); parent.setWindowTitle("Parent"); child.setWindowTitle("Child"); parent.showMaximized(); child.showMaximized(); parent.setWindowState(Qt::WindowMinimized); parent.setWindowState(Qt::WindowMaximized); return a.exec(); }
The child should be restored to maximized state but is instead restored to normal state.
Attachments
Issue Links
- relates to
-
QTBUG-53854 Fullscreen to maximized window state restore broken on windows
-
- Closed
-