Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.14.2
-
None
Description
Overlay boxes such as an expanded dropdown list of the HTML <select> tag are opening up at miscalculated screen positions instead of being attached at the root element when a rotation != 0deg is applied.
The location of the misplaced overlays is not random, we believe the overlays are opening up at the screen position of the unrotated root element. For instance, the dropdown list of a select element in the upper left corner of the screen will open up at the opposite corner when rotating the screen upside down.
However, the overlay seems to be aware of the new screen dimensions as it makes sure not to expand outside of the visible screen. And the overlay also seems to be aware of the new orientation because the elements of the dropdown list are always correctly oriented and readable (that is, the text of the elements is never displayed upside down).
This bug can be reproduced with yocto/warrior and yocto/dunfell. That would be 5.12.9 and 5.14.2, respectively.
We are using the iio-sensor-proxy for converting sensor data from an i2c attached accel. sensor to logical orientation events on dbus. The screenshot attached shows the behaviour of QtWenengine on the target when receiving the "LeftUp" orientation event.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-89358 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
329722,4 | Place single-window popups in the right position | 5.15 | qt/qtwebengine | Status: ABANDONED | 0 | 0 |
330209,8 | Fix position of popup on qml | 5.15 | qt/qtwebengine | Status: MERGED | +2 | 0 |
330438,9 | Transform/Rotate qml popups in the case of multiwindow support | 5.15 | qt/qtwebengine | Status: ABANDONED | 0 | 0 |
331214,4 | Transform/Rotate qml popups in the case of multiwindow support | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |