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

QWidget::normalGeometry() incorrect in full screen on MacOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.6.3, 5.9.7, 5.12.2
    • Fix Version/s: None
    • Component/s: GUI: Window management
    • Labels:
      None
    • Environment:
      MacOS 10.14.5
    • Platform/s:
      macOS

      Description

      According to the documentation, normalGeometry() should report the non-full-screen geometry when the window is full screen, but on MacOS it reports the full screen size (ie. the screen size).  The OS clearly remembers the normal geometry, as leaving screen goes back to the original size/position.  However, this causes the normal geometry not to be saved correctly when using QWidget::saveGeometry().

        Attachments

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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mwysocki Matthew Wysocki
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes