Details
-
Bug
-
Status: Closed
-
P2: Important
-
Resolution: Done
-
6.1.1, 6.2.0 Alpha
-
None
-
-
a7b1aaa98be60c739d11f1a7d30440a70c6ea77a (qt/qtbase/dev) 189f362533648c5ebc2fc1137ef46c8cedc49044 (qt/qtbase/6.2)
Description
On devices that automatically rotate the screen, or use the following script to delay the rotation of the screen.
sleep 5 xrandr -o right
Display the menu and rotate the device to change the orientation of the screen. The menu position is displayed incorrectly
When using a script, run the script first, and then display the menu. When the screen orientation is changed, the menu position is wrong. This is true in Kwin, ICE, and gnome.
There are multiple popup windows in https://github.com/qt/qtbase/blob/dev/src/widgets/kernel/qapplication.cpp#L1623, but they are not called when the screen is rotated.
Although this is not commonly used, it should be a BUG. The wrong menu position is too ugly.