Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.11.1
Description
When the primary screen is an external monitor and then this is disconnected it will cause the window to move to the other monitor and calls to mapToGlobal() afterwards are not correct as a result. In the example attached do the following:
- Ensure the primary monitor is the external one (i.e. the one being disconnected)
- Run the example and place it on the primary monitor
- Click inside the window to see the menu appears correctly
- Dismiss the window
- Disconnect the primary monitor
- Now click inside the window again, the menu is now offset from the mouse position
Note that this just effects mapToGlobal(), the menu's global pos is correct.