Bug 252875 - Add "delete" keyboard shortcut to the data manager
Summary: Add "delete" keyboard shortcut to the data manager
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 2.0.1
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: 2.0.1
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-30 16:30 UTC by Nicolas Brisset
Modified: 2010-11-12 10:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Attempted patch (not working) (1.35 KB, patch)
2010-09-30 16:34 UTC, Nicolas Brisset
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Brisset 2010-09-30 16:30:58 UTC
Version:           2.0.1
OS:                Linux

I just had the case that there was plenty of stuff in the data manager that I wanted to delete, and it is a pain. To edit, a double-click is enough, but to delete an item you need to do RMB->scroll down the list->Delete.
We should add a keyboard shortcut so that hitting the "Del" key directly deletes the selected object and selects the next one.

I tried to do it but it does not work :-( I made the delete action global to the DataManager class, called new QAction() it in the constructor and registered the Qt::Key_Delete shortcut for it. The context menu shows the shortcut, but hitting the key does nothing (neither with nor without context menu)

Reproducible: Always
Comment 1 Nicolas Brisset 2010-09-30 16:34:20 UTC
Created attachment 52117 [details]
Attempted patch (not working)
Comment 2 Nicolas Brisset 2010-10-07 10:27:18 UTC
SVN commit 1183366 by brisset:

Add the delete key as keybord shortcut to quickly delete objects from the data
manager.

BUG: 252875


 M  +11 -1     datamanager.cpp  
 M  +1 -1      datamanager.h  
 M  +3 -0      datamanager.ui  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1183366
Comment 3 Peter Kümmel 2010-11-12 10:37:16 UTC
There is no version list for "Version Fixed in".
Use Target Milestone as indicator when the bug was fixed.