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

Using a stylus to open a QMenu in a window before interacting with it using a mouse or touchpad causes the menu to open as a standalone window

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.6.0
    • 5.15.8
    • QPA: Wayland
    • None
    • KDE Plasma 5.27
      Fedora KDE 37
      Kernel 6.1.10
    • Linux/Wayland
    • 59fae923d (dev)

    Description

      STEPS TO REPRODUCE

      1. Launch KDE's Dolphin file manager, either using a stylus to click its Task Manager launcher button, or even just opening it in a terminal window by running `dolphin`
      2. Use the stylus to open a menu in some way: click the hamburger menu button in the toolbar or the dropdown menu button for sort ordering. If the in-window menubar was visible, clicking on one of the menus reproduces it too

       

      ACTUAL RESULT

      The QMenu for the requested menu opens, but as a standalone window, not a drop-down menu. This is 100% reproducible for me with the above steps.

       

      EXPECTED RESULT

      The QMenu for the requested menu opens as a drop-down menu

       

      ADDITIONAL INFORMATION

      After step 1, if I use a mouse or touchpad to click on anything inside the window (excluding the window decoration), the problem does not occur in step 3.

       

      WAYLAND_DEBUG=1 log attached.

      Attachments

        1. QMenu opens as a standalone window.jpg
          483 kB
          Nate Graham
        2. WAYLAND_DEBUG=1 dolphin.txt
          145 kB
          Nate Graham
        For Gerrit Dashboard: QTBUG-111130
        # Subject Branch Project Status CR V

        Activity

          People

            zzag Vlad Zahorodnii
            pointedstick Nate Graham
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes