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

[REG: 5.10.1->5.11.0-alpha] Mouse events not observed when Super (Windows) key is held down.

    XMLWordPrintable

Details

    • Linux/X11
    • b71be2927 (dev), 65b6de2a2 (6.8), 9c1f39b93 (6.7), 3479e414f (tqtc/lts-6.5), 92356d460 (tqtc/lts-6.2), f464227d1 (tqtc/lts-5.15), 5875da6d7 (dev), b839e9b36 (6.8.0), d3780f244 (6.8), 1d19a3a91 (tqtc/lts-6.5)

    Description

      Mouse events are not observed in the event handler if a Super (Windows) key is currently pressed. This does not happen with any other keys. 
      The issue happens in CentOS7 and Ubuntu 20.04 with GNOME or GNOME classic. The issue is not observed with the MATE desktop environment.

      The issue does NOT happen with Qt 5.9.6.

      The example app does a keyboard hook to intercept the Super key press, but still the mouse press is not observed.

      To reproduce the issue:
      1) Run the attached example on Ubuntu or CentOS7 GNOME desktop environment. A window will be shown. When keys or mouse buttons are pressed, this information is logged to the application output window.
      2) Press a mouse button. Observe the mouse button press/release is logged.
      4) Press and hold the Super ( Windows ) key. Then press any mouse button. Observe that no mouse button event is logged.

      Attachments

        1. qtbug_110841_qt6.zip
          5 kB
        2. qtbug_110841.zip
          5 kB
        3. QTBUG-110841.tgz
          4 kB
        4. screenshot-1.png
          screenshot-1.png
          102 kB

        Issue Links

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

          Activity