Bug 514906

Summary: Additional features don't get disabled when using multiple keyboard layouts
Product: [Applications] systemsettings Reporter: SD-chaos
Component: kcm_keyboardAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: butirsky, duha.bugs, natalie_clarius
Priority: NOR    
Version First Reported In: 6.5.1   
Target Milestone: ---   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description SD-chaos 2026-01-21 16:42:57 UTC
SUMMARY
Some (special) keyboard layouts are using special features like ”enable caps-lock when pressing the left-shift and right-shift keys simultaneously“ because they repurposed the normal caps-lock key.
If several keyboard layouts are configured at once where some use the special features from above and others normally wouldn't, those features are enabled for all layouts if the layout with the special features is the first one configured.

Swapping the order of the layouts solves the problem but is not a permanent option as the first one is the default layout. On the other hand ”just don't use the two shift-keys to enable caps-lock“ is not an option either as exactly this feature causes massive problems with the shift-keys in some Java applications when only enabled (regardless whether it's used or not).

STEPS TO REPRODUCE
1. Enable keyboard layouts configuration.
2. Add Neo 2 as the first keyboard layout and German as second and apply the settings.
3. Switch keyboard layout to German.
4. Press left-shift and right-shift simultaneously.

OBSERVED RESULT
Caps-lock gets enabled.

EXPECTED RESULT
Nothing should happen. Caps-lock can only get enabled by pressing the caps-lock key.


SOFTWARE/OS VERSIONS
Linux: 6.12.57
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION