Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.7, 5.10, 5.11.0
-
None
-
Windows 10 Pro
1803
Description
I use QScreen to get the geometry of the (two) screens I work on.
After 3-4 position changes of the screens, I get the same(obsolete) values.
After Qt 5.10, I also get the following warning message:
QSGThreadedRenderLoop: expose event received for window ApplicationWindow_QMLTYPE_11(0x227caf188a0) with invalid geometry: QRect(-1219,319 300x100) on QScreen(0x227c8451200, name=\\.\DISPLAY4)
Killing the process and starting all over again, gives me the correct (current) values.
I have a simple project attached for demonstration. I am under the impression that this happens only when the application window first appears on the second monitor(not the primary one).
I have checked it on a MAC and I don't have any issues. Also, I have checked it at some other identical machines and only once I got the aforementioned warning
The bug appears at least since Qt 5.7