Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-95607

Screen rotation causes wrong menu position

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.2.0 Beta3, 6.3.0 Alpha
    • 6.1.1, 6.2.0 Alpha
    • GUI: Menus
    • None
    • Linux/X11
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            tanghaixiang haixiang tang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes