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

When a QMacNativeWidget is created for a screen that has a 2.0 dpr and then is moved to a 1.0 dpr screen and shown, it is not adjusted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.12.3
    • QPA
    • macOS

      When a QMacNativeWidget is created for a screen that has a 2.0 dpr and then is moved to a 1.0 dpr screen and shown, it is not adjusted.

      This happens if you put a MacBook to sleep and then connect an external monitor that is using 1.0 dpr and then show the QMacNativeWidget window in question. It will end up being drawn as if it is on a 2.0 dpr screen.

      With the example attached with the external monitor detached, start the application and then put the macbook to sleep. Connect the external monitor and click the button to show the new window.

      If this is all done when the external monitor is already connected then it is shown correctly.

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

            Unassigned Unassigned
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes