Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
5.12.3
Description
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.