Bug 314664 - Keyboard shortcut is not saved/loaded
Summary: Keyboard shortcut is not saved/loaded
Status: CONFIRMED
Alias: None
Product: kdevelop
Classification: Applications
Component: UI: all modes (other bugs)
Version First Reported In: 5.6.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-08 11:52 UTC by kde
Modified: 2021-03-10 12:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kde 2013-02-08 11:52:00 UTC
I've defined the shortcut Ctrl+< to switch between definition/declaration (C++-Support), but this is also defined for "search in the current document" (in German: "Aktuelles Dokument suchen") .
If now I changed the last mentioned shortcut to nothing all is fine and it works like expected.

But if I close kdevelop and restart it the short for searching is defined and conflicts with the switching command.

Reproducible: Always

Steps to Reproduce:
1. Define Ctrl+< for switching between definition/declaration
2. Set search in current document to default (nothing)
3. Ok, do your work, quit
4. Start again -> search in current document is now defined as Ctrl+< too
Comment 1 Kevin Funk 2013-02-10 21:43:39 UTC
Confirmed.

The action is "Locate current document", however.
Comment 2 Oleksandr Senkovych 2015-01-04 16:20:39 UTC
This bug appears in master version of KDevelop (the one KF5 based). 
As far as I can tell, shortcuts for KDevelop now stored in ./.local/share/kxmlgui5/ xml files. In my case file ~/.local/share/kxmlgui5/kdevswitchtobuddy/kdevswitchtobuddy.rc was empty and document saving failed. 
Console error was: "Calling appendChild() on a null node does nothing"
When copied "kdevplatform/plugins/switchtobuddy/kdevswitchtobuddy.rc" with proper xml structure, this particular setting is saved successfully.

I think that OP's bug reason is different, however the one I encountered is related with xml errors handling.
Comment 3 Justin Zobel 2021-03-09 22:48:26 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 4 kde 2021-03-10 12:38:27 UTC
(In reply to Justin Zobel from comment #3)

Yes, the bug is still existing.