Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-120191

Unable to restore visibility state of the QDockWidget

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.5.5
    • 6.6.2, 6.7.0
    • Widgets: Main Window
    • None
    • Lubuntu 22.04
    • Linux/X11
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              axelspoerl Axel Spoerl
              trialuser02 Ilya Kotov
              Votes:
              5 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes