Bug 480862 - Unable to assign numpad keys to shortcuts on Wayland
Summary: Unable to assign numpad keys to shortcuts on Wayland
Status: CLOSED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 6.0.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://codereview.qt-project.org/c/q...
Keywords: qt6
: jjenkx 482479 483200 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-02-04 18:37 UTC by Antti Savolainen
Modified: 2024-03-31 21:01 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Savolainen 2024-02-04 18:37:12 UTC
SUMMARY
Demonstrative video: https://youtu.be/1m03xlR4YdM
Thanks to the recent patches, it is now possible to use the numpad keys in shortcuts. bug 453423, bug 446389, bug 480169. This sadly only works if those shortcuts are preassigned in X11 as assigning them doesn't seem to be possible on Wayland. When attempting to assign a modifier key+numpad combination, the assigning system interprets that as a top row number. If you try to assign a numpad number without any modifiers, the menu just won't accept it as input. 
bug 430126 and bug 433698 are possibly related as Petr commented over there that they replicated it on Debian.

STEPS TO REPRODUCE
1. Try to assign a numpad key to a shortcut

OBSERVED RESULT
Either the menu won't let you or it interprets it as a toprow number

EXPECTED RESULT
Numpad keys should be assigned

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0
Comment 1 Doug 2024-02-05 04:21:50 UTC
Can reproduce.

Operating System: KDE neon Testing Edition
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.1
Kernel Version: 6.5.0-15-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 15.4 GiB of RAM
Graphics Processor: AMD Radeon Pro WX 3200 Series
Manufacturer: Dell Inc.
Product Name: Precision 7540
Comment 2 Nicolas Fella 2024-02-05 04:25:53 UTC
As I've said in the other reports you need https://codereview.qt-project.org/c/qt/qtwayland/+/533675 for this
Comment 3 Nate Graham 2024-02-15 15:23:32 UTC
*** Bug 481164 has been marked as a duplicate of this bug. ***
Comment 4 duha.bugs 2024-03-11 19:19:04 UTC
*** Bug 483200 has been marked as a duplicate of this bug. ***
Comment 5 fanzhuyifan 2024-03-15 23:09:58 UTC
*** Bug 482479 has been marked as a duplicate of this bug. ***
Comment 6 Andres 2024-03-30 17:57:42 UTC
Still not fixed on 6.0.3.

Shouldn't the fix be in there? 

Operating System: Garuda Linux 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.2-3-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6700 XT
Comment 7 Nicolas Fella 2024-03-30 18:02:38 UTC
You need Qt 6.6.3
Comment 8 Antti Savolainen 2024-03-31 21:01:16 UTC
Nice. Can confirm it works now.