Bug 503865 - Cannot delete in Kate when caps lock enabled
Summary: Cannot delete in Kate when caps lock enabled
Status: RESOLVED UPSTREAM
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL: https://github.com/xkbcommon/libxkbco...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-06 22:39 UTC by elydgolden
Modified: 2025-05-11 18:43 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description elydgolden 2025-05-06 22:39:34 UTC
SUMMARY

As the title. When caps lock is enabled, pressing backspace or delete in Kate or Kwrite does absolutely nothing

STEPS TO REPRODUCE
1. Open Kate or Kwrite
2. Enable Capslock
3. Enter some text
4. Press Backspace

OBSERVED RESULT

Nothing happens

EXPECTED RESULT

Text is deleted

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: openSUSE Tumbleweed 20250502
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Comment 1 John Kizer 2025-05-11 06:26:46 UTC
Hi - just to check, does this behavior occur in any other applications on your device? If so, does this occur when editing text in a virtual console (ex. typically reachable via Ctrl+Alt+F3 or Ctrl+Alt+F4)?

Thanks!
Comment 2 John Kizer 2025-05-11 06:28:11 UTC
And sorry for the multiple emails, but if you check in Settings > Configure Keyboard Shortcuts, is the action "Backspace" still assigned to the Backspace key?

Thanks!
Comment 3 dfpercush 2025-05-11 17:38:50 UTC
    Arrow keys and Enter are also affected, as well as Backspace and Delete. This behavior happens in several places seemingly all based on Qt text elements. System file dialog, Dolphin's path bar, Qt Creator, Kate, Anki.
    It does NOT happen in, for example, KeePass (mono), gtk-demo -> TextView element, ImHex pattern editor (but the file dialog comes from the system and does have the bug), etc.
    Weirdly, in Konsole, backspace works, but arrow keys are still defunct while caps lock is active, and Delete turns into backspace.
Comment 4 elydgolden 2025-05-11 17:53:58 UTC
Can confirm all that you said, and no it does not happen in a TTY.
Comment 5 Christoph Cullmann 2025-05-11 18:24:14 UTC
If that happens to all Qt applications, that more sounds like a generic Qt issues on your system.
Comment 6 John Kizer 2025-05-11 18:28:19 UTC
Hi - it looks like this is a libxkbcommon issue - see https://forums.opensuse.org/t/keyboard-problems-after-update/184685/12 and https://github.com/xkbcommon/libxkbcommon/issues/740

Thanks!
Comment 7 elydgolden 2025-05-11 18:43:30 UTC
Can confirm; fixed in the latest Tumbleweed snapshot