Bug 470651 - "Ambiguous shortcut detected" when trying to paste after splitting terminal
Summary: "Ambiguous shortcut detected" when trying to paste after splitting terminal
Status: RESOLVED FIXED
Alias: None
Product: yakuake
Classification: Applications
Component: general (show other bugs)
Version: 23.04.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
: 500168 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-06-05 03:14 UTC by Martin C.
Modified: 2025-02-28 06:04 UTC (History)
6 users (show)

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


Attachments
Yakuake shortcut error message (29.55 KB, image/png)
2023-06-12 17:50 UTC, Martin C.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin C. 2023-06-05 03:14:54 UTC
SUMMARY
***
The option to map a key combination to copy/paste text in the terminal is missing.
***


STEPS TO REPRODUCE
1. Press Ctrl+Shift+v to try to paste text, as you would do in Konsole (and basically pretty much every other terminal emulator in the world)
2. Get greeted by a warning message letting you know that the universal combination is not registered, so you have to head down to the shortcuts section to fix that

OBSERVED RESULT
There's no such option to map the the `paste` command

EXPECTED RESULT
Pressing the universal key combination would paste the clipboard's text into the terminal.

SOFTWARE/OS VERSIONS 
Linux/KDE Plasma: Fedora Kinoite 38
(available in About System)
KDE Plasma Version:  5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
Comment 1 Justin Zobel 2023-06-05 03:36:22 UTC
I've just tried this on Fedora 38 KDE and I can't reproduce it, I get the text pasted into Yakuake. Is Yakuake installed as a Flatpak or overlayed onto the ostree image?
Comment 2 Martin C. 2023-06-06 12:41:23 UTC
Hi Justin 👋,

Thank you so much for your prompt reply.

"Is Yakuake installed as a Flatpak or overlayed onto the ostree image?"
- No, I couldn't find a Yakuake Flatpak - I checked both Flathub and KDEApps (https://userbase.kde.org/Tutorials/Flatpak) -, so I overlayed it.

After checking your comment, I removed the overlayed package without touching the configuration files, then re-installed it, and now it is working as you describe (as expected!).

I should have taken a screenshot of the error message when it popped up before uninstalling Yakuake the first time; I'll make sure to do so next time if I see it again.

Thanks again!
-Martín
Comment 3 Martin C. 2023-06-12 17:50:46 UTC
Created attachment 159618 [details]
Yakuake shortcut error message

"Ambiguous shortcut detected" notice is shown when trying to paste text on the pane created with the shortcut [ Ctrl+Shift+8 ]
Comment 4 Martin C. 2023-06-12 18:05:05 UTC
Hi all,

It turned out I wasn't crazy after all (at least not that crazy); I hit this issue again today, check the attached screenshot.

The interesting thing here is that this issue only occurs when trying to paste text on a pane created with the shortcut Ctrl+Shift+8, which I use a lot in Konsole to create dynamic panes (with 0 and 9 it works well).

I understand that there might be something else going on here because when creating a pane using Ctrl+Shift+8 I also can't switch to/from it using Ctrl + Tab.

Yakuake version is: `yakuake 23.04.2`
Reproducibility: always

Thanks
Comment 5 tsweet64 2024-03-12 20:59:11 UTC
Hello,

Since the Plasma 6 update, attempting to paste into Yakuake with "Ctrl+Shift+V" results in the "Ambiguous shortcut detected" error described in this issue. However, the Yakuake settings do not list any other shortcut other than paste mapped to this key combination.
Comment 6 Chicao Fernandes 2024-09-07 21:43:38 UTC
I tested locally and the bug was caused by conflicting Konsole KPart shortcuts interfering within Yakuake's own shortcuts.
I fixed with this PR here:

https://invent.kde.org/utilities/yakuake/-/merge_requests/128
Comment 7 Justin Zobel 2024-09-08 09:53:27 UTC
MR created but the bug bot hasn't moved it to assigned, fixing.
Comment 8 Nicolas Fella 2024-12-21 13:35:37 UTC
Git commit 197b1a5f0fb422a40193707e7338219c6c12818c by Nicolas Fella, on behalf of Francisco Fernandes.
Committed on 21/12/2024 at 13:33.
Pushed by nicolasfella into branch 'master'.

Override split-auto action from Konsole

Like we do for other split actions.

This fixes an issue where after the split we would get conflicting shortcuts with Konsole

M  +10   -0    app/mainwindow.cpp
M  +20   -0    app/session.cpp
M  +1    -0    app/session.h
M  +11   -0    app/sessionstack.cpp
M  +1    -0    app/sessionstack.h
M  +4    -0    app/terminal.cpp

https://invent.kde.org/utilities/yakuake/-/commit/197b1a5f0fb422a40193707e7338219c6c12818c
Comment 9 John Kizer 2025-02-28 06:04:12 UTC
*** Bug 500168 has been marked as a duplicate of this bug. ***