Bug 425968 - [Neon unstable] Starting some applications shows "ambiguous shortcut" window
Summary: [Neon unstable] Starting some applications shows "ambiguous shortcut" window
Status: RESOLVED FIXED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: components (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-30 06:34 UTC by Oded Arbel
Modified: 2020-09-10 17:45 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oded Arbel 2020-08-30 06:34:43 UTC
SUMMARY
After today's update of Neon unstable, when launching some applications an alert dialog first shows up with the text:

Ambiguous shortcut - <program name>

There are two actions (Trash, donate) that want to use the same shortcut (Del). This is most probably a bug. Please report it in bugs.kde.org

After dismissing the window, the application starts normally.

I have observed this with Dolphin and Gwenview

STEPS TO REPRODUCE
1. Start Dolphin

OBSERVED RESULT
Ambiguous shortcut message appears

EXPECTED RESULT
Dolphin file browsing window should appear

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version:  5.19.80
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
I'm pretty sure this is not the correct product to report on, but I couldn't find anything else that might cover multiple applications.
Comment 1 Oded Arbel 2020-08-30 13:01:09 UTC
I also have what appears to be the same issue with Kate: when pressing DEL while editing some text, I get an error message:

The key sequence 'Del' is ambiguous. Use 'Configure Shortcuts'
from the 'Settings' menu to solve the ambiguity.
No action will be triggered.

And "Configure Shortcuts" indeed shows that the "Donate" action uses the "Del" key.

IMO, having a keyboard shortcut globally in all application for "Donate" is probably a bad idea, but it is a truly horrible idea to take over the "Del" key which is massively used even outside text editors.
Comment 2 Patrick Silva 2020-08-30 14:41:35 UTC
same thing on my neon unstable.
Comment 3 Oded Arbel 2020-09-02 08:15:39 UTC
With the latest update to Neon unstable, the problem seems to have been resolved - I get no more warnings (as described previously) and the "Donate" keyboard shortcut is no longer assigned to "Del".
Comment 4 Oded Arbel 2020-09-04 14:38:31 UTC
With the current Neon unstable I am now getting the same issue on both CTRL+H and ALT+. (in Dolphin - Gwenview apparently doesn't care as it uses much less shortcut keys and does not have any conflicts on the chosen keys).

Please stop putting shortcut keys on "Donate" - it doesn't make any sense as "Donate" is not a frequently used action, let alone two shortcuts!

If you are trying to get people to discover the donation option by accidentally triggering the "Donate" action when they hit a shortcut key by mistake, then that is a horrible way to get donations - even nag dialogs are a better option.
Comment 5 Andreas Sturmlechner 2020-09-07 20:13:12 UTC
Related to recent changes in plasma-integration, see linked bug.
Comment 6 Oded Arbel 2020-09-07 23:19:22 UTC
(In reply to andreas.sturmlechner from comment #5)
> Related to recent changes in plasma-integration, see linked bug.

I'm not sure why you think that issue is related - it has nothing to do with the "Donate" shortcut, and it is also not recent: that work has gone into master 4 months ago while the issue of conflicting "Donate" and "show hidden files" shortcut is less than a week old.

I do thank you for pointing out the Standard Shortcuts module - I wasn't aware of it and it is likely the culprit of this new issue as well as the original. I'll investigate.
Comment 7 Oded Arbel 2020-09-10 17:45:34 UTC
yea, and that is fixed with the last update.