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

MacOS: isMaximized broken (regression), hence saveGeometry too

XMLWordPrintable

    • macOS
    • 7aec099ca3cbc3f04562db027dc88f29e7ca28e4

      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

        1. main.cpp
          0.3 kB
          user-04d21
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes