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

MacOS: isMaximized broken (regression), hence saveGeometry too

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.3.0 RC1
    • Labels:
      None
    • Environment:
      OSX 10.9
    • Platform/s:
      macOS
    • Commits:
      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

              Assignee:
              srutledg Shawn Rutledge
              Reporter:
              philippe Philippe Goutier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes