Bug 431114 - Global Shortcuts don't work while using Present Windows effect on X11
Summary: Global Shortcuts don't work while using Present Windows effect on X11
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: effects-present-windows (show other bugs)
Version: 5.20.4
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-01-03 16:35 UTC by Allexus J
Modified: 2021-08-19 15:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.