https://bugs.kde.org/show_bug.cgi?id=408227

            Bug ID: 408227
           Summary: Setting Caps Lock as Compose doesn't disable Caps Lock
                    functionality
           Product: kwin
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: da...@davidgow.net
  Target Milestone: ---

SUMMARY
When running KDE as a Wayland session, setting "Position of Compose key" to
"Caps Lock" in kcm_keyboard causes the Caps Lock key to work as _both_ Compose
and Caps Lock — pressing it toggles the Caps Lock LED and inverts the case of
characters, but also activates the "dead key" nature of Compose.

Additionally, disabling Caps Lock specifically with "Caps Lock behaviour"→"Caps
Lock is disabled" doesn't seem to work. Setting "Caps Lock is also a Ctrl"
seems to successfully make Caps Lock a Ctrl (in addition to Compose), but this
is still suboptimal.

These all work as expected under X11.

STEPS TO REPRODUCE
1. Run a Plasma Wayland session.
2. Set "Position of Compose Key" to "Caps Lock" in kcm_keyboard's "Advanced"
tab.
3. Press Caps Lock: the LED will toggle, and Caps Lock mode will activate.

OBSERVED RESULT
Caps Lock is enabled in addition to the Compose key functioning.
Caps Lock cannot be disabled with the "Caps Lock behaviour"→"Caps Lock is
disabled" setting.

EXPECTED RESULT
Setting "Position of Compose Key" to "Caps Lock" disables Caps Lock.
Caps Lock can be disabled with the "Caps Lock is disabled" setting.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 19.04 (kernel 5.0.0-15-lowlatency, libxkbcommon0:
0.8.2-1, xkb-data 2.23.1-1ubuntu1.18.10.1)
(available in About System)
KDE Plasma Version: 5.16.80 (kwin git c6265039...), also happens with stock
Kubuntu
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to