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

save/restoreGeometry behaves incorrectly when application is maximized

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.5.3
    • None
    • macOS, Windows

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes