Bug 487923 - Customized split view shortcuts are unusable - 'the key sequence ... is ambiguous'
Summary: Customized split view shortcuts are unusable - 'the key sequence ... is ambig...
Status: CONFIRMED
Alias: None
Product: konsole
Classification: Applications
Component: split-view (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-02 13:47 UTC by Mariusz
Modified: 2024-06-05 23:24 UTC (History)
0 users

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


Attachments
screenshot filtered view with duplicates (32.03 KB, image/png)
2024-06-02 13:47 UTC, Mariusz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mariusz 2024-06-02 13:47:13 UTC
Created attachment 170064 [details]
screenshot filtered view with duplicates

STEPS TO REPRODUCE
1. Go to configure keyboard shortcuts
2. Filter for 'split view'. 
3. Notice there are 'duplicated' entries: "Split View Left-Right" (no icon) and "Split View Left/Right" (with icon). Similarly for  "top/bottom"
4. As an example set Ctrl+Shift+E as additional "Split View Left-Right" shortcut.

OBSERVED RESULT
When I close the settings window all those split view shortcuts produce ".. is ambiguous" warning. Sometimes it happens immediately, sometimes one shortcut work and other doesn't, sometimes they work until I restart konsole.

After choosing "save shortcuts to scheme" the resulting file has indeed duplicated entries like
>  <Action name="split-view-left-right" shortcut="Ctrl+Shift+E"/>
in 2 places.

Split view shortcuts only seem to work with default keybindings without any user modifications.
I believe it has something to do with duplicated entries in shortcut list


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.10
Comment 1 Mariusz 2024-06-03 07:57:47 UTC
BTW I've realized there's another shortcut option that works - "Split view automatically". It's very useful as a workaround for this issue. Most of the time I can use it instead of separate vertical and horizontal split commands. In other cases it's easy to rearrange splits by dragging split's headers.