Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5.4, 6.7.0 Beta2
-
Windows 10 22H2, MSVC 2019 x64
Description
Code
#include <QtWidgets> int main(int argc, char* argv[]) { QApplication app(argc, argv); QMainWindow mw; mw.addDockWidget(Qt::LeftDockWidgetArea, new QDockWidget); mw.setCentralWidget(new QWidget); mw.show(); return app.exec(); }
Steps to reproduce
- Build and run the code above
- Close/hide the dock widget by clicking its 'X' button
- Minimize the top-level window
- Restore the top-level window
Expected outcomes (Qt 6.2.11, 6.6.1)
The dock widget remains hidden
Actual outcomes (Qt 6.5.4, 6.7.0b2)
The dock widget is restored
Attachments
Issue Links
- duplicates
-
QTBUG-120191 Unable to restore visibility state of the QDockWidget
- Closed