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

QMainWindow central widget not resizing properly after restoreState

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.9.6
    • Widgets: Main Window
    • None
    • Windows

    Description

      When using a QMainWindow with QDockWidgets the central widget does not resize properly if we restore the window state from a previous state.

      When the DockWidgets are hidden the central widget does not occupy the whole area. 

      This used to work in Qt 5.9.5.

      Attached is a small app that demonstrates this.

      Attachments

        Issue Links

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

          Activity

            People

              anwojcie Anna Wojciechowska
              hugol Hugo Leitao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes