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

MacOS: isMaximized broken (regression), hence saveGeometry too

    XMLWordPrintable

Details

    • macOS
    • 7aec099ca3cbc3f04562db027dc88f29e7ca28e4

    Description

      Run the sample. Resize the window with the mouse. Click inside the window -> Q_ASSERT is triggered because isMaximized is still true.

      This is bad because the isMaximized state is saved with saveGeometry(). This means that in many cases, saveGeometry/restoreGeometry won't produce the expected result when non-maximized windows are to be restored.

      This is a regression compared to 4.8

      Attachments

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              jirauser26727 user-04d21 (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes