Bug 362545 - Project Manager View plugin has hardcoded/fixed shortcuts
Summary: Project Manager View plugin has hardcoded/fixed shortcuts
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: project (show other bugs)
Version: 4.90.91
Platform: Compiled Sources All
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-01 12:53 UTC by RJVB
Modified: 2022-11-19 05:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
draft patch for making these shortcuts user-modifiable (6.77 KB, patch)
2016-05-01 12:54 UTC, RJVB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RJVB 2016-05-01 12:53:26 UTC
The Project Manager View plugin hardcodes a number of shortcuts, among others for item removal, renaming, copy and paste. The remove, copy and paste shortcuts are standard and probably unlikely to be redefined, but the rename action is made available via the F2 key. I use that shortcut in KWin (for lowering the focus window), and it turns out that the keystroke is not eaten by KWin but passed on to the next window that receives focus, or when KDevelop itself is being lowered this way.

I've tried to make a start towards replacing these fixed shortcuts with user-modifiable ones. The QAction shortcuts work as expected, but I haven't yet been able to figure out how to make them appear in the shortcut settings dialog. Draft patch attached.

Reproducible: Always

Steps to Reproduce:
1. Map F2 to "lower window"
2. Select a Focus-Really-Follows-Mouse focussing model
3. Open a project in KDevelop5
4. Select an item in the project manager
5. Put a window in front of KDevelop and lower it via F2 or lower KDevelop itself via F2

Actual Results:  
A Rename dialog pops up; one cannot change or undefine the shortcut

Expected Results:  
It should be possible to change or remove the shortcut
Comment 1 RJVB 2016-05-01 12:54:25 UTC
Created attachment 98732 [details]
draft patch for making these shortcuts user-modifiable

Hopefully a step in the right direction
Comment 2 Aleix Pol 2016-05-01 23:11:38 UTC
Can you please submit the patch to reviewboard or phabricator? it's easier to discuss there.
Comment 3 RJVB 2016-05-02 08:16:56 UTC
https://phabricator.kde.org/D1523
Comment 4 Justin Zobel 2022-10-20 23:54:31 UTC
Thank you for reporting this bug 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 "CONFIRMED" when replying. Thank you!
Comment 5 Bug Janitor Service 2022-11-04 05:07:38 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2022-11-19 05:15:03 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!