Bug 457047

Summary: Restart enables Caps Lock when disabled in settings
Product: [I don't know] kde Reporter: JanLukas <jan>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description JanLukas 2022-07-23 14:31:05 UTC
STEPS TO REPRODUCE
1. Set "Input Devices > Keyboard > Advanced > Caps Lock behavior > Caps Lock is disabled"
2. Set "Input Devices > Keyboard > Advanced > Position of Compose Key > Caps Lock"
3. Apply changes
4. Restart PC
5. Press Caps Lock

OBSERVED RESULT
After pressing Caps Lock, Caps Lock is activated, while Compose Key is not.

EXPECTED RESULT
After pressing Caps Lock, Compose Key is activated, while Caps Lock is not.

SOFTWARE/OS VERSIONS
Kernel: 5.15.0-41-generic (64-bit)
Distribution: Kubuntu 22.04
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Hardware: Acer Aspire 5 Laptop with Intel 11th Gen i5-1135G7, 15.4 GiB RAM

ADDITIONAL INFORMATION
After unsetting and setting 
"Input Devices > Keyboard > Advanced > Caps Lock behavior > Caps Lock is disabled"
and applying the changes (which is possible even though nothing changed in the GUI), the expected result happens again. 

POSSIBLY RELATED
https://bugs.kde.org/show_bug.cgi?id=408227
https://bugs.kde.org/show_bug.cgi?id=442515
Comment 1 Nate Graham 2022-07-26 18:23:39 UTC
These options are incompatible. If you want to use caps lock as compose (as I do) you on;y need to set "Position of Compose Key > Caps Lock." You can unset "Caps Lock behavior > Caps Lock is disabled," and that should fix the bug.