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

Mac: restoreGeometry() from a window that is zoomed then resized places the window at wrong location

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.7.0
    • 4.7.0
    • None
    • Mac OS 10.5.8. Qt 4.7.0 beta 1.
    • macOS
    • e0c4899b46a68b37ce743c5a1ffd17596cbaa44c

      If a window is saved after it's zoomed then resized without being moved, the restored window is placed at the pre-zoomed position with the new size. This is tested on the Mac.

      Steps to reproduce:

      1. Use the attached main.cpp in a GUI app. Build and run the app.
      2. Click the green zoom/maximize window button.
      3. Grab the resize corner and resize the window. DO NOT move the window.
      4. Close the window.
      5. Run the app again.

      Note the restored window is placed at the same location as it was before the zoom/maximizing. But the size is the adjusted size.

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

            cduclos Carlos Duclos (Inactive)
            stephenju Stephen Chu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes