-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.15.2
-
None
-
Samsung S22
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)
| For Gerrit Dashboard: QTBUG-109127 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 668883,9 | Android: fix tst_Android::orientationChange() flakiness | dev | qt/qtbase | Status: MERGED | +2 | 0 |
| 670480,2 | Android: fix tst_Android::orientationChange() flakiness | 6.10 | qt/qtbase | Status: MERGED | +2 | 0 |
| 670521,3 | Android: fix tst_Android::orientationChange() flakiness | 6.9 | qt/qtbase | Status: MERGED | +2 | +1 |
| 671472,2 | Android: fix tst_Android::orientationChange() flakiness | tqtc/lts-6.8 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |