https://bugs.kde.org/show_bug.cgi?id=504758

            Bug ID: 504758
           Summary: rules should have a "ignore global widget shortcuts"
                    in addition to "ignore global shortcuts"
    Classification: Plasma
           Product: kwin
      Version First 6.3.5
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: rules
          Assignee: kwin-bugs-n...@kde.org
          Reporter: adam.m.fontenot+...@gmail.com
                CC: isma...@gmail.com
  Target Milestone: ---

I use single-key shortcuts quite a lot, for example the meta/win key opens the
application menu (I think this is a default setting!) and I set caps lock to
open the plasma search widget.

I find using a KWin window rule to avoid activating these shortcuts when
playing fullscreen games absolutely invaluable. Right now the only option to do
something like this is "ignore global shortcuts", which does exactly what it's
supposed to do. Unfortunately this isn't really ideal for most users including
me, as it breaks built-in KWin effects like the task switcher (alt-tab). This
is annoying because sometimes you really do want to suspend a game temporarily
and look at another window. Or on rare occasions a game might hang, and you
have to resort to extreme measures to recover your desktop instead of just
tabbing out.

My proposal is to add an additional property that allows KWin effects to
continue receiving global shortcuts like alt-tab, but disables widget
activation via global shortcut. I'm not familiar with the behind the scenes
details, but I imagine Plasmashell is requesting to be notified whenever a
shortcut registered with one of its widgets is pressed, globally. What I'd like
is to disable Plasmashell receiving global shortcuts when the game is running,
without inhibiting effects that (as far as I know) are native to KWin. (Ideally
this would just affect Plasmashell, as having PrtSc continue to take
screenshots with Spectacle would be very useful.

Alternative: maybe this could just be added as a dropdown menu option for the
"ignore global shortcuts" property?

Operating System: Arch Linux 
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.7-arch1-1 (64-bit)
Graphics Platform: Wayland

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to