Bug 488271 - Layouts: Do we support shortcuts (key sequences) of multiple key combinations or not?
Summary: Layouts: Do we support shortcuts (key sequences) of multiple key combinations...
Status: RESOLVED DUPLICATE of bug 480304
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keyboard (show other bugs)
Version: 6.0.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2024-06-09 21:25 UTC by ratijas
Modified: 2024-08-01 20:19 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ratijas 2024-06-09 21:25:43 UTC
SUMMARY
The Keyboard KCM — Layouts page, in the layouts table, supports assigning multi key combination key sequences for switching to particular keyboard layouts. KGlobalAccel seem to have no issues with them either, as they all work on the desktop (except on a locked screen — more on this later). Shortcuts KCM, however, only shows the first key combination of a key sequence (e.g. only "Ctrl+K" portion of a "Ctrl+K, Ctrl+E" key sequence), and the capture forcefully ends after the first key combination.

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.
4. Double click any layout's Shortcut column.
5. Input some multi key combination key sequence, such as Ctrl+K, Ctrl+E.
6. Apply changes. (Note: you might need to change some other option as well, due to the BUG 488269).
7. Open Shortcuts KCM, navigate to the Keyboard Layout Switcher component in the System Services section.
8. On the right/shortcuts pane, check the «Switch keyboard layout to %your_language%» entry.

OBSERVED RESULT
Konsistency

EXPECTED RESULT
Consistency

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

ADDITIONAL INFORMATION
See also: BUG 488268
Comment 1 fanzhuyifan 2024-08-01 20:19:21 UTC
Unfortunately this requires a pretty extensive fix involving adding api for kglobalaccel, and porting all users to the new api.

*** This bug has been marked as a duplicate of bug 480304 ***