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

save/restoreGeometry behaves incorrectly when application is maximized

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2: Important P2: Important
    • None
    • 6.5.3
    • None
    • macOS, Windows

      Hi, I am running into an issue where when I call restoreGeometry() at boot, the size of the window is incorrect if the saveGeometry() was called with maximized() to True. It looks like it does go maximized, but the geometry() returned is a non-maximized geometry. This causes the layout of QDockWidgets to look incorrect.

      It looks like a few bugs have been written about this issue already, and marked as closed/fixed, but I am still seeing this issue with Qt6.5.3:

      https://bugreports.qt.io/browse/QTBUG-21371

      https://bugreports.qt.io/browse/QTBUG-4397

      https://bugreports.qt.io/browse/QTBUG-106678

      I would love to get a fix for this in Qt 6.6.3.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            esmolikowski Eric Smolikowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes