| Summary: | KDe shortcuts can't distinguish between number pad and main keyboard strokes | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kglobalaccel | Reporter: | kdebugs |
| Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | fanzhuyifan, kdebugs, nicolas.fella |
| Priority: | NOR | ||
| Version First Reported In: | 5.103.0 | ||
| Target Milestone: | --- | ||
| Platform: | Debian stable | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
This is fixed in Plasma 6 *** This bug has been marked as a duplicate of bug 446389 *** |
STEPS TO REPRODUCE 1. assign a shortcut to Meta+-, using the number pad OBSERVED RESULT Using either the number pad - key or the main keyboard - key triggers the shortcut EXPECTED RESULT Only the key used in the shortcut assignment should trigger the shortcut. SOFTWARE/OS VERSIONS Operating System: Debian GNU/Linux 12 KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.1.0-37-amd64 (64-bit) Graphics Platform: Wayland ADDITIONAL INFORMATION From xev the keys are different: keycode 20 (keysym 0x2d, minus) vs: keycode 82 (keysym 0xffad, KP_Subtract) …but if I edit kglobalshortcutsrc and change “-” to KP_Subtract, it doesn’t work. Ideally we could specify keycode, keysym, or use the KP_Subtract style names in kglobalshortcutsrc. It's understandable to treat the "-" key on the number pad as semantically identical to the regular "-", but the number pad presents a big opportunity to assign shortcuts, and it is lost due to this.