Bug 482760 - Global shortcuts not working with NumPad
Summary: Global shortcuts not working with NumPad
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 6.0.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-07 18:47 UTC by jaburjak
Modified: 2024-03-08 22:52 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: Plasma 6.0 with Qt 6.6.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jaburjak 2024-03-07 18:47:48 UTC
SUMMARY
After updating to Plasma 6.0.1, global shortcuts containing numbers stopped working when pressing the numbers on the numpad. Example: I have configured Switch to desktop <N> with Meta+<N>, now the shortcut works only when I press Meta+Shift+"+" (my keyboard layout is Czech, and to type 1 without the numpad, I have to press Shift and the key above letter Q).

STEPS TO REPRODUCE
1. Configure a Switch to Desktop 1 shortcut using Meta+1.
2. Apply changes.
3. Be on another desktop than 1, and press Meta and 1 on the numpad.

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
Plasma should switch to Desktop 1.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux with kernel 6.7.8-zen1-1-zen (64-bit)
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Graphics Platform: Wayland

ADDITIONAL INFORMATION
System settings correctly accepts input from the numpad. I can set shortcut Meta+1 by pressing 1 on the numpad, but after saving the shortcut, Plasma will not recognize it, unless I use the key above the letter part and hold Shift at the same time.
Comment 1 Michael Prager 2024-03-08 19:59:32 UTC
Do other keys work for you? For me, global shortcut stopped working entirely with kde 6
Comment 2 jaburjak 2024-03-08 20:07:53 UTC
(In reply to Michael Prager from comment #1)
> Do other keys work for you? For me, global shortcut stopped working entirely
> with kde 6

Yes, all other shortcuts work fine. Only NumPad does not.
Comment 3 Nate Graham 2024-03-08 22:52:17 UTC
This is fixed in Plasma 6 but requires a change that only went into the upcoming Qt 6.3.3 release. Some distros have backported the patch already (I believe Fedora has) but Arch has not.