https://bugs.kde.org/show_bug.cgi?id=405877
Bug ID: 405877 Summary: Rules to ignore global shortcuts ignored when mouse pointer grabbed. Product: kwin Version: 5.14.5 Platform: Gentoo Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: rules Assignee: kwin-bugs-n...@kde.org Reporter: lo...@kde.bt.alestan.publicvm.com Target Milestone: --- SUMMARY Window rules for ignoring global shortcuts do not function when a window grabs the mouse pointer. This happens both with sdl2 windows and gtk3 windows, running under wayland or Xwayland (Xorg not tested). This happens both with qemu and dosbox. STEPS TO REPRODUCE 1. Create a rule to ignore global shortcuts for qemu 2. Launch qemu with the sdl or gtk backend 3. Click in the qemu window to grab the mouse pointer 4. Hit ctr-alt-delete or other global shortcut: shortcut is not passed through to qemu 5. Set qemu as the active window but don't grab the mouse (alt-tab to select qemu) 6. Hit ctrl-alt-delete or other global shortcut: shortcut is passed through to qemu OBSERVED RESULT Global keyboard shortcuts are not ignored and are not passed to the window with the locked pointer. For example, ctrl-alt-delete brings up the logout/shutdown menu, F12 opens the dropdown terminal emulator yakuake. EXPECTED RESULT Global keyboard shortcuts should be passed to the window with the locked mouse pointer. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 4.19.27-gentoo (available in About System) KDE Plasma Version: 5.14.5.1 KDE Frameworks Version: 5.54.0 Qt Version: 5.11.3-r2 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.