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

            Bug ID: 488280
           Summary: Multi combination key sequence to Switch keyboard
                    layout to a particular layout works incorrectly
    Classification: Plasma
           Product: kscreenlocker
           Version: git-master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: m...@ratijas.tk
  Target Milestone: ---

Created attachment 170309
  --> https://bugs.kde.org/attachment.cgi?id=170309&action=edit
Keyboard KCM - Layouts page with shortcuts

SUMMARY
It is possible to set a shortcut (key sequence) of multiple key combinations,
such as "Ctrl+K, Ctrl+E", to switch keyboard layout to a particular layout.
Keyboard KCM supports them; shortcut KCM does not support them. They work on a
regular desktop. However, on a lock screen the results are varying: some
layouts can be switched to using only the first key combination of their
multi-combo sequences.

STEPS TO REPRODUCE
1. Open Keyboard KCM, navigate to the Layouts tab.
2. Check the Configure Layouts check box.
3. Add some layouts to the table, e.g. RU and EN.
4. Double click the Shortcut column
5. Set up some multi key combination key sequences, such as «Ctrl+K, Ctrl+E»
for English and «Ctrl+K, Ctrl+R» for Russian.
6. Lock the screen.
7. Try switching the keyboard layout using the shortcuts you set in step 5.

OBSERVED RESULT
When I press Ctrl+K (the common prefix for both shortcuts in my setup), the
layout switches to English. Then I press Ctrl+R as well, and the layout
switches to Russian. Pressing Ctrl+E after Ctrl+K does not do anything special,
because the layout already switched to English.

EXPECTED RESULT
multi key combination key sequences should only activate when all of the key
combinations has been pressed in a quick succession.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: git-master
KDE Frameworks Version: git-master
Qt Version: 6.7.1
Kernel Version: 6.9.3-arch1-1 (64-bit)
Graphics Platform: X11

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

Reply via email to