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

QDockWidget: Empty space appears after using restoreState

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.9.6
    • GUI: Window management
    • None
    • Win 7 64bit / macOS 10.13, Qt 5.9.6
    • macOS, Windows

    Description

      There is a very strange behavior with QDockWidget in my application after updating from Qt 5.6.2 to Qt 5.9.6.

      Reproduction:
      1. Start the attached program (code is based on qt "dockwidgets" example)
      2. Select View / Save state
      3. Close the customers and the paragraph window (menu View) -> Screenshot1_ok.png, all ok
      4. Select View / Restore state -> windows re-appear, all ok
      5. Close the customers and the paragraph window (menu View) -> Screenshot2_failure.png, failure

      With Qt 5.6.2, all is right ...

      Attachments

        1. Screenshot2_failure.png
          Screenshot2_failure.png
          34 kB
        2. Screenshot1_ok.png
          Screenshot1_ok.png
          33 kB
        3. dockwidgets.zip
          15 kB

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              chriskatze Christian Schauss
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes