Bug 227618 - Give more information about ambiguous shortcuts
Summary: Give more information about ambiguous shortcuts
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: shortcuts (show other bugs)
Version: unspecified
Platform: Gentoo Packages Unspecified
: NOR normal
Target Milestone: ---
Assignee: Michael Jansen
URL:
Keywords: usability
: 299797 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-19 04:49 UTC by Frank Steinmetzger
Modified: 2024-09-14 17:06 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 Frank Steinmetzger 2010-02-19 04:49:42 UTC
Version:            (using KDE 4.4.0)
Installed from:    Gentoo Packages

I just wanted to close KLinkStatus using Ctrl+Q. But all I get is a popup saying that this shortcut is ambiguous and that I should reassign it. But it doesn not tell me with what shortcut it is in conflict.

The only item in KLinkStatus’ shortcuts which holds Ctrl+Q is, of course, Exit. So this is what I did to test the issue for reproducability:

- Make sure Ctrl+Q brings the warning about ambiguity :)
- set the shortcut for Exit to "none", now Ctrl+Q works as expected
- start the app again, hit Ctrl+Q, it still works
- start the app again, look into shortcut settings, and there Ctrl+Q is listed again, assigned to Exit
- hit cancel, Ctrl+Q still works
- start the app again, reset shortcuts to default, hit OK
- now the warning is back again.

I have a similar issue in Krusader: I manually assigned Alt+C to “Compare by content”, Krusader’s shortcuts dialogue accepted it without a problem. But when I press it, I get the same popup about ambiguity. I’ve looked through all shortcut lists in system settings, but couldn’t find Alt+C assigned anywhere. At some point in the past it already worked, but now I’m in a newly set-up environment and there it is again.

So here again, it would be very helpful if the popup actually told about what is ambiguous.

Cheers
Comment 1 Frank Steinmetzger 2010-07-27 19:17:12 UTC
Other bugs deal with the same symptoms, but on app level (such as Bug 228194 for Konqueror and Bug 188764 for Kate). But I reckon the’re all due to KDE’s way of handling shortcuts in the first place, so the real cause probably lies within KDE’s handling of hotkeys in gereral. (I’m not sure though whether to file this for khotkeys or kdelibs, so please CC if necessary).

I just encountered in in Kate myself, trying to compile something.

Since it impacts a wide area of use cases, it really needs fixing. A good solution would be to have local hotkeys (i.e. those configured for the current application) get priority over global hotkeys.
Comment 2 Szczepan Hołyszewski 2013-12-19 22:24:44 UTC
*** Bug 299797 has been marked as a duplicate of this bug. ***
Comment 3 Szczepan Hołyszewski 2013-12-19 22:28:15 UTC
Hi Frank, since there's two of us now, would you consider spending your 20 votes on this?
Comment 4 Joel 2014-12-17 00:38:04 UTC
I had some big problems finding out the conflict for Shift-Insert (paste) in the console part in dolphine (activaded by pressing F4), and to be honest I still don't really know what the conflict was. I just deleted one paste mapping and it started to work.

I'm not sure about letting local have higher priority than global. I think some key combinations are meant to always work regardless of what window has the focus, like PrintScreen to launch a screenshot tool. But a priority flag would solve that. And then instead of doing nothing, the "Ambiguous keyboard shortcuts" could perhaps present the a choice for which to set the flag.

If the global scope lack knowledge about which local shortcuts might exist we could make the priority flag a date (in seconds) when the it was set. Freshest flag then wins. Zero or lack of a flag shoud trigger the setting dialog, but obviously only the local applications should do this as a global can have priority over an unknown amout of hotkeys.
Comment 5 Karl Ove Hufthammer 2015-08-25 17:44:13 UTC
*** This bug has been confirmed by popular vote. ***
Comment 6 Lo 2019-06-10 11:12:26 UTC
I too am running into this issue with the console in Dolphin. Shift+Insert creates a popup and I have no idea where to look for the conflict. Should I create a new bug report for this?
Comment 7 Christoph Feck 2019-07-03 16:17:49 UTC
Shift+Insert is both used in Dolphin and in the Konsole part. If you have Dolphin with Terminal panel open, remove or change the Shift+Insert shortcut in Dolphin; you can still use Ctrl+V for Paste.
Comment 8 Christoph Cullmann 2024-09-14 17:06:46 UTC
Hi,

kdelibs (version 4 and earlier) is no longer maintained since a few years.

KDE Frameworks 5 or 6 might already have resolved this bug.

If not, please re-open against the matching framework if feasible or against the application that shows the issue.

We then can still dispatch it to the right Bugzilla product or component.

Greetings
Christoph Cullmann