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

            Bug ID: 516598
           Summary: After the update on 2026-02-23, keyboard layout
                    switching options labeled "(while pressed)" no longer
                    revert to the default layout upon key release.
    Classification: Plasma
           Product: kwin
      Version First unspecified
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: input
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Steps to reproduce:

Go to System Settings > Keyboard > Layouts > Configure layout options.

Under "Switching to another layout," select "Caps Lock (while pressed)" or
"Left Alt (while pressed)."

Ensure two layouts are configured (e.g., US and Danish).

Press and hold the designated key.

Type a character, then release the key.

Observed Result: > The layout switches on the initial press but remains on the
secondary layout after the key is released. It only switches back if the key is
pressed a second time (behaving as a toggle).

Expected Result: > The layout should immediately revert to the primary layout
as soon as the key is released.

Additional Information: > This was working correctly prior to today's update.
Verified with multiple keys (Caps Lock and Left Alt), suggesting the issue is
with the "while pressed" state logic rather than a specific key mapping.

sudo libinput debug-events
...
 event3   KEYBOARD_KEY                 +0.000s  *** (-1) pressed
 event3   KEYBOARD_KEY                 +0.054s  *** (-1) released
 event3   KEYBOARD_KEY                 +1.843s  *** (-1) pressed
 event3   KEYBOARD_KEY                 +2.296s  *** (-1) released

Operating System: Fedora Linux 43
KDE Plasma Version: 6.6.0
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.1
Kernel Version: 6.18.12-200.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-10310U CPU @ 1.70GHz
Memory: 16 GiB of RAM (15,2 GiB usable)
Graphics Processor: Intel® UHD Graphics
Manufacturer: LENOVO
Product Name: 20U9001QUS
System Version: ThinkPad X1 Carbon Gen 8

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

Reply via email to