Bug 407407 - No way to un-bind an existing shortcut when being notified of a conflict
Summary: No way to un-bind an existing shortcut when being notified of a conflict
Status: CONFIRMED
Alias: None
Product: frameworks-kxmlgui
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-10 21:17 UTC by maxime.haselbauer
Modified: 2022-02-13 20:04 UTC (History)
3 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 maxime.haselbauer 2019-05-10 21:17:36 UTC
An example that illustrate the problem
Assume in Kdevelop you want to use Ctrl+J to togggle the view of the Debug Window.
Open Kdevelop
Right Click on the Debug Tab at the bottom 
Click on Assign shortcut
Assign CTRL+J as a shortcut 

Problem CTRL+J is also defined in Kdevlop as Join Line Shortuct
Problem in Settings/Configure Shortcut you have no way to remove the default shortcut for Join Line

You are doomed because no one came to the idea to actually have a button that delete he shortuct.
See the way VSCode does handle that issue to have an exmaple of a right design.
Comment 1 Nate Graham 2019-05-28 21:54:17 UTC
I don't have or use VSCode; could you describe how they handle it, or better yet, add a screenshot?
Comment 2 george fb 2019-06-09 13:36:51 UTC
> Problem in Settings/Configure Shortcut you have no way to remove the default shortcut for Join Line

It is possible to remove the default shortcut.
Settings > Configure Shortcut find the action, click the shortcut you want to change, controls to change the shortcut will open, select custom and save. Custom should be set to "None" by default, in case it's not clicking the button to its right should set it to "None".

> could you describe how they handle it, or better yet, add a screenshot?
To delete a shortcut you just select it and press the delete key, or through the context menu.

What's nice in VSCode when you try and set a shortcut if there is a conflict you can click a link and it displays only the actions assigned to that shortcut.