Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.15.2
-
None
-
Samsung S22
Description
In the slot for QScreen::orientationChanged(), it seems QScreen::geometry() does not always reflect the geometry of the new orientation. Sometimes it has the new geometry, sometimes the old:
E.g. here is the value of the orientation parameter and value of geometry() for several sequential calls of orientationChanged() as the screen is rotated.
Qt::LandscapeOrientation QRect(0,0 411x806)
Qt::PortraitOrientation QRect(0,0 806x411)
Qt::LandscapeOrientation QRect(0,0 806x411)
Qt::PortraitOrientation QRect(0,0 806x411)