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

            Bug ID: 444522
           Summary: "Send Keyboard Input" shortcut inputs the keys using
                    the wrong keyboard layout
           Product: systemsettings
           Version: 5.23.2
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_khotkeys
          Assignee: k...@michael-jansen.biz
          Reporter: adam.m.fontenot+...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: ---

SUMMARY

Seemingly khotkeys "types" the input as if the corresponding keys on the
physical keyboard were pressed, but it ought to type the text provided by the
user. (Rationale: suppose the user switches between keyboard layouts
frequently. In this case, their shortcuts will be broken half the time.) Easy
to reproduce.

This is not the same issue as https://bugs.kde.org/show_bug.cgi?id=355046

STEPS TO REPRODUCE
1. Set your keyboard layout to something other than your physical keyboard's
layout. E.g. Dvorak or Colemak.
2. Create a new Custom Shortcut. Make the trigger whatever you like, and the
Action "t:e:s:t" (no quotes).
3. Open KWrite, and press the keyboard combination.

OBSERVED RESULT
KWrite prints ".oy"

With a Dvorak layout, when I press the physical keys "test" on my US Qwerty
keyboard, "y.oy" is printed. Thus, khotkeys is entering text as if it was
physically typed on the buttons given in the Action, instead of respecting the
keyboard layout.

The reason ".oy" instead of "y.oy" is printed is because of
https://bugs.kde.org/show_bug.cgi?id=437618 Specifically, I used the trigger
Alt+Y, but the button I press for Y on Dvorak is the physical T button on the
keyboard, so the first "t" of keyboard input gets eaten because of that bug.

EXPECTED RESULT
KWrite prints "test"

SOFTWARE/OS VERSIONS
Linux: Arch Linux x86_64 (kernel 5.14.14)
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2

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

Reply via email to