Bug 354430 - Change of key shortcut in Debug session will be lost after switching into Code perspective
Summary: Change of key shortcut in Debug session will be lost after switching into Cod...
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 5.2.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-27 00:43 UTC by Piotr Mierzwinski
Modified: 2022-12-31 09:38 UTC (History)
2 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 Piotr Mierzwinski 2015-10-27 00:43:40 UTC
Like in subject.
This probably happens also in Review sessions. I didn't test.

Reproducible: Always

Steps to Reproduce:
1. Run KDevelop with any project (I've tested with C++/Qt based)
2. Start debug session
3. Change any of shortcut (I changed "Step over" related with debugger)
4. Stop debug session.
    This made back do Code perspective
5. Try if changed shortcut is working


Actual Results:  
Changed shortcut is working like was defined before debug session

Expected Results:  
Changing any shortcut in debug session (I didn't test Review) should be applied in all perspectives not only in this one where is changed.

KDevelop cloned on 1 week ago.
Comment 1 Piotr Mierzwinski 2018-11-06 21:12:25 UTC
This bug is linked (or points on the same issue) like "Bug 362486" (reported also by me).
Comment 2 Justin Zobel 2022-12-02 01:22:46 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 3 Piotr Mierzwinski 2022-12-13 21:08:21 UTC
Igor Kushnir explained that this is not a bug only a feature, very annoying feature which needs a lot of effort to be fixed.
I close this bug report.
Comment 4 Igor Kushnir 2022-12-14 08:27:22 UTC
(In reply to Piotr Mierzwinski from comment #3)
> Igor Kushnir explained that this is not a bug only a feature, very annoying
> feature which needs a lot of effort to be fixed.
> I close this bug report.
I wouldn't lump this issue with everything session-related. Shortcuts are stored in ~/.local/share/kxmlgui5/kdev* and do not depend on the area.

Just tested assigning shortcut in the Debug session to the Run to Cursor action in current KDevelop master. The shortcut remains after switching back to code and after starting another Debug session. Can you still reproduce this bug?
Comment 5 Piotr Mierzwinski 2022-12-31 00:00:07 UTC
(In reply to Igor Kushnir from comment #4)
> (In reply to Piotr Mierzwinski from comment #3)
> > Igor Kushnir explained that this is not a bug only a feature, very annoying
> > feature which needs a lot of effort to be fixed.
> > I close this bug report.
> I wouldn't lump this issue with everything session-related. Shortcuts are
> stored in ~/.local/share/kxmlgui5/kdev* and do not depend on the area.
> 
> Just tested assigning shortcut in the Debug session to the Run to Cursor
> action in current KDevelop master. The shortcut remains after switching back
> to code and after starting another Debug session. Can you still reproduce
> this bug?

You are right. Seems issue disappeared. I tested with shortcut  "Switch header/source". I set shortcut being in Debug mode, and when back to Code perspective assigned shortcut still exists. I did it opposite way, and new shortcut was the same in Debug mode.
Thanks for clarification, and reminder to retest this issue.
To tests I used current git version (today installed) available in Neon Unstable repository.
I about I found version:  5.10.230370 (23.03.70)