Bug 494586

Summary: English key character is shown in shortcut combination instead of key character from locale-specific non-English keyboard layout
Product: [Applications] systemsettings Reporter: Jure Repinc <jlp>
Component: kcm_keysAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: duha.bugs, fanzhuyifan, kde, nate
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=453661
https://bugs.kde.org/show_bug.cgi?id=501541
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jure Repinc 2024-10-12 09:25:08 UTC
STEPS TO REPRODUCE
1. Use a keyboard layout that is not English (in my case I use Slovenian keyboard layout)
2. Try to set a new keyboard shortcut that includes special locale keys (e.g. Ctrl+Ž)

OBSERVED RESULT
The actual keyboard shortcut key combination shown to be saved is that of English layout (in my case Ctrl+\)

EXPECTED RESULT
The shown keyboard shortcuts key combination should show and use non-English keyboard locale key character

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20241007
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.3
Kernel Version: 6.11.2-1-default (64-bit)
Graphics Platform: Wayland
Comment 1 fanzhuyifan 2025-01-08 15:20:56 UTC
Hi, thank you for your bug report. Currently kde's shortcut processing relies on Qt's shortcut processing, and I believe the described behavior is how Qt is currently implementing shortcuts across non-latin layouts.