Bug 431114

Summary: Global Shortcuts don't work while using Present Windows effect on X11
Product: [Plasma] kwin Reporter: Allexus J <a.geno>
Component: effects-present-windowsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde, nate
Priority: NOR Keywords: usability
Version First Reported In: 5.20.4   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Allexus J 2021-01-03 16:35:27 UTC
SUMMARY
I can't to anything if I am in "windows open" view. For example if I press the button to increase or decrease the volume, it does not work. Or if I press the shortcut to do a screenshot, nothing happens. If I try to change the brightness, doesn't work.

STEPS TO REPRODUCE
1. enter in "windows open" view (you can do so by entering "qdbus org.kde.kglobalaccel /component/kwin invokeShortcut Expose" in a terminal
2. try to press any key to do some action (adjust volume or brightness, or take a screenshot, etc)

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
I want to be able to do a screenshot or to decrease or increase brightness/volume etc etc when I am in "windows open" view.

SOFTWARE/OS VERSIONS
Manjaro
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-01-04 20:49:32 UTC
Confirmed.
Comment 2 Allexus J 2021-02-13 21:29:01 UTC
(In reply to Nate Graham from comment #1)
> Confirmed.

is there an hope that this will be fixed in 5.22?
Comment 3 Nate Graham 2021-02-13 21:55:54 UTC
If someone wants to work on it, sure. :)
Comment 4 David Edmundson 2021-02-13 22:00:48 UTC
>is there an hope that this will be fixed in 5.22?

There is very little hope.

Kwin has an X11 keyboard grab, if there's a keyboard grab then kglobalaccel can't process shortcuts. It's the same as the context-menu "bug".

Wayland will (and does) fix it.
Comment 5 Nate Graham 2021-08-19 15:42:16 UTC
Indeed, this is essentially unfixable on X11, sadly.