Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.6.2, 6.7.0
-
None
-
Lubuntu 22.04
-
-
79dc0b6aa (tqtc/lts-6.5), 3195e3474 (dev), ede7d80b3 (6.7)
Description
How to reproduce:
1. Create simple application with QDockWidget.
2. Add saveState() and restoreState() calls.
3. Start application and close dock widget.
4. Close and start application.
Results.
QDockWidget became visible after application restart. QMainWindow::restoreState() does not restore it's state.
This bug affects Qt from 6.6 and 6.7 git branches. Example is attached.
Attachments
Issue Links
- is duplicated by
-
QTBUG-122069 [Reg 6.2 -> 6.5+] Minimizing + Restoring QMainWindow should not restore a hidden QDockWidget
- Closed
For Gerrit Dashboard: QTBUG-120191 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
527269,2 | QDockWidget: Don't show with the main window after restore | dev | qt/qtbase | Status: ABANDONED | -1 | 0 |
527433,5 | Test restored state in tst_QDockWidget::hideAndShow() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
531689,2 | Revert "QDockWidget: Always show dock widgets with the main window" | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
532301,2 | Test restored state in tst_QDockWidget::hideAndShow() | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |