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

            Bug ID: 442940
           Summary: Custom shortcuts that send keyboard input fail to
                    output one character
           Product: systemsettings
           Version: 5.22.4
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_khotkeys
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Created attachment 141904
  --> https://bugs.kde.org/attachment.cgi?id=141904&action=edit
Trigger pane, action pane and result of typing a custom shortcut

SUMMARY

Shortcuts with Alt-<letter> as the trigger fail to output the first instance of
<letter> when <letter> is part of the action.


STEPS TO REPRODUCE
1. System Settings -> Shortcuts -> Custom Shortcuts
2. Create a shortcut triggered by Alt-<letter> and include multiple copies of
<letter> in the Action.
3. Click the Apply button.
4. Go to a program that accepts keyboard input, such as vim, and type
Alt-<letter>.

OBSERVED RESULT

The keys in the shortcut's action are displayed EXCEPT for the first instance
of <letter>.

EXPECTED RESULT

All the keys in the shortcut's action are displayed.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux: Fedora 34
Linux/KDE Plasma: System Settings 5.22.4
(available in About System)
KDE Plasma Version: 5.22.5 (source: plasma-workspace-5.22.5-2.fc34.src.rpm)
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

The workaround is to add an extra <letter> as needed to the action keys. For
example, I have an Alt-y shortcut for my e-mail address for which the action
WAS 'd:a:v:i:d:l:e:v:n:e:r:Shift+2:y:a:h:o:o:.:c:o:m'. When I typed Alt-y,
'[email protected]' was output. I changed the action to
'd:a:v:i:d:l:e:v:n:e:r:Shift+2:y:y:a:h:o:o:.:c:o:m' and now when I type Alt-y,
I get '[email protected]'.

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

Reply via email to