Bug 513662

Summary: Wayland: Cannot assign ² key as a global shortcut in Plasma 6.5.4 (affects Guake toggle)
Product: [Plasma] kwin Reporter: Fanny <fanny>
Component: inputAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: duha.bugs, kde, nate
Priority: NOR Keywords: wayland-only
Version First Reported In: 6.5.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Fanny 2025-12-21 16:19:53 UTC
SUMMARY
Plasma’s global shortcut system does not recognize certain non‑alphanumeric keys (such as ²) under Wayland.  
It should be possible to bind layout‑specific keys (e.g. ², $, ù, etc.) as standalone global shortcuts.

STEPS TO REPRODUCE
1. On Arch/Manjaro Linux, open System Settings → Keyboard → Shortcuts. 
2. Select any application, click +Add, and attempt to assign ² as the shortcut key.

OBSERVED RESULT
Pressing ² produces no input in the shortcut recorder.  
However, modified combinations such as Ctrl+² are detected correctly.

EXPECTED RESULT
The ² key should be recognized and assignable as a standalone global shortcut.
Under X11, Guake’s own preferences allowed assigning ² directly.

SOFTWARE/OS VERSIONS
- Operating System: Manjaro Linux  
- KDE Plasma Version: 6.5.4  
- KDE Frameworks Version: 6.20.0  
- Qt Version: 6.10.1  
- Kernel Version: 6.1.159‑1‑MANJARO (64‑bit)  
- Graphics Platform: Wayland  
- Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
- Memory: 16 GiB of RAM (15.3 GiB usable)
- Graphics Processor: Intel® Iris® Xe Graphics

ADDITIONAL INFORMATION
I have used Guake for years with ² as my toggle shortcut.  
This worked flawlessly under X11 and became part of my daily workflow.

Under Wayland, Plasma’s shortcut system does not expose this key (and several other layout‑specific keys common on AZERTY keyboards), which prevents assigning them as global shortcuts.

Is there a technical reason why these single‑key shortcuts cannot currently be bound?  
If a patch were proposed to support these keys, would it be considered?

Thanks for your work on Plasma and the Wayland transition.