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

            Bug ID: 486806
           Summary: Switching keyboard layout set to Capslock puts cursor
                    at the beginning of a row in text fields of some
                    applications
    Classification: Plasma
           Product: plasmashell
           Version: master
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Keyboard Layout
          Assignee: plasma-b...@kde.org
          Reporter: freezeb...@gmail.com
                CC: butir...@gmail.com
  Target Milestone: 1.0

Created attachment 169340
  --> https://bugs.kde.org/attachment.cgi?id=169340&action=edit
a showcase of the bug using dolphin

SUMMARY
Changing keyboard layout set to Capslock (as the only way to change layouts)
puts cursor at the beginning of a row in text fields of some applications

STEPS TO REPRODUCE
0. Change layout switching method to CapsLock
1. Type something in one layout (i.e. English)
2. Switching layout to another one (i.e. Russian) by pressing Capslock

OBSERVED RESULT
Layout changes but the text input cursor is put at the beginning of a row or a
text field as if "Home" or "PageUp" key is pressed. If some text is selected,
it de-selects.

EXPECTED RESULT
Cursor stays in place, only layout changes.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: archlinux 6.8.9-zen (64-bit)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
1. Only happens in some applications:
a) telegram-desktop pacman build but not AppImage (works as expected in
AppImage);
b) nheko AppImage but not pacman (works as expected in pacman build);
c) dolphin when renaming file but not when creating new file (with a textbox
dialog popup);
so far, these applications are all I have noticed this behavior in.

2. Only happens with CapsLock: default switching method (Alt+Shift) works fine;
tried some variations of *+CapsLock, they all work fine.
Layout switching is the only option I have changed in advanced keyboard
options.
Disabling CapsLock doesn't do change this behavior.
Having other layouts doesn't change this behavior.

3. Started happening since update to Plasma 6, never happened in Plasma 5. My
installation is a fresh (did it on launch of Plasma 6 on arch in February) one
but with some dot files migrated from Plasma 5. There were no other issues, but
I'm willing to experiment if pointed towards any relevant config files.

4. Recorded a short clip in dolphin. Note that I only press CapsLock and some
random letters on a keyboard.

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

Reply via email to