Bug 488280 - Multi combination key sequence to Switch keyboard layout to a particular layout works incorrectly
Summary: Multi combination key sequence to Switch keyboard layout to a particular layo...
Status: RESOLVED DUPLICATE of bug 488268
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: general (show other bugs)
Version: git-master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-09 22:59 UTC by ratijas
Modified: 2024-07-18 00:08 UTC (History)
2 users (show)

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


Attachments
Keyboard KCM - Layouts page with shortcuts (86.32 KB, image/png)
2024-06-09 22:59 UTC, ratijas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ratijas 2024-06-09 22:59:35 UTC
Created attachment 170309 [details]
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
Comment 1 TraceyC 2024-07-18 00:08:41 UTC
*** This bug has been marked as a duplicate of bug 488268 ***