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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.6.3, 5.9.7, 5.12.2
    • GUI: Window management
    • None
    • MacOS 10.14.5
    • 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

            Unassigned Unassigned
            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