Bug 496195 - Capslock key does not switch behavior when using colemak layout
Summary: Capslock key does not switch behavior when using colemak layout
Status: RESOLVED UPSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-12 22:25 UTC by getzze
Modified: 2024-11-14 17:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description getzze 2024-11-12 22:25:27 UTC
SUMMARY
CapsLock behavior is not decided by the current selected layout but by the layout that is first in the list in System Settings.
It looks like these bugs from the descriptions: https://bugs.kde.org/show_bug.cgi?id=171632 and https://bugs.kde.org/show_bug.cgi?id=360145

STEPS TO REPRODUCE
1. Add two layouts in System Settings: English (US) and English (US) (Colemak variant).
2. Put the colemak or the non-colemak variant first of the list of layouts.
3. Hit CapsLock, switch layouts and hit again.

OBSERVED RESULT
1. if colemak variant is first of the list of layouts:
  - if colemak is selected: Backspace as expected.
  - if non-colemak is selected: Backspace -> UNEXPECTED
2. if non-colemak variant is first of the list of layouts:
  - if non-colemak is selected: CapsLock as expected.
  - if colemak is selected: CapsLock AND Backspace (delete previous character and lock capital letters)

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.6.59-1-lts (64-bit)
Graphics Platform: Wayland
Comment 1 Wismill 2024-11-14 16:20:32 UTC
This is an upstream issue, similar to: https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/490.
Comment 2 Nate Graham 2024-11-14 17:11:45 UTC
I had a feeling. Thanks for confirming!