Bug 487923

Summary: Customized split view shortcuts are unusable - 'the key sequence ... is ambiguous'
Product: [Applications] konsole Reporter: Mariusz <mariusz.atamanczuk.tlen>
Component: split-viewAssignee: Konsole Developer <konsole-devel>
Status: CONFIRMED ---    
Severity: normal    
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot filtered view with duplicates

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.