Summary: | Digikam's shortcut for Delete permanently does not work (shift + del). | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Thomas Damgaard <thomasdn> |
Component: | Usability-Keyboard | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anantapalani, caulier.gilles |
Priority: | NOR | ||
Version: | 2.3.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.4.0 | |
Attachments: | SHIFT+DEL conflict |
Description
Thomas Damgaard
2011-11-09 19:57:03 UTC
Look indeep in shortcuts config dialog, you will see that KDE define Edit/Cut alternate shortcut as SHIFT+DEL... Edit action are defined by KDE libs. It's factorized for all applications. Proposal : use CTRL+DEL instead... Gilles Caulier Following this page : http://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts ...CTRL+DEL is already used. ALT+DEL sound like the solution Gilles Caulier On Windows, when working with files SHIFT+DEL is permanently delete a file. Isn't there a way to tell KDE that permanently delete is the definite action desired and override the ambiguity? Shift+Del is working in Dolphin, and I know it's used in Windows Explorer. It's definitely the right shortcut for "Delete permanently". See this code from dolphin: // need to remove shift+del from cut action, else the shortcut for deletejob // doesn't work KAction* cut = KStandardAction::cut(this, SLOT(cut()), actionCollection()); KShortcut cutShortcut = cut->shortcut(); cutShortcut.remove(Qt::SHIFT | Qt::Key_Delete, KShortcut::KeepEmpty); cut->setShortcut(cutShortcut); Created attachment 65584 [details]
SHIFT+DEL conflict
Marcel, Ananta,
You cannot see the same conflict on your computer with config dialog ?
Gilles Caulier
Marcel, I agree. Shift+Del works in Dolphin. And it is also used in Windows Explorer. It is rather confusing that it does not work in digikam. Another thing: it is really not great that the user receives and error only telling her that the shortcut is ambiguous. It should provide more information, such as: 1) *why* is it ambiguous -- i.e. which actions are defined to have this shortcut combo. 2) *how* does the user solve the problem? 3) preferably the user should be given the option to choose which one of the conflicting actions she wants to be working -- either in this particular application or globally across all KDE applications. Git commit bdf416be9a5dcc3aedc58e64718b222890c49600 by Marcel Wiesweg. Committed on 13/11/2011 at 17:27. Pushed by mwiesweg into branch 'master'. Remove secondary shortcut Shift+Del from Cut action, so that Delete permanently can work BUG: 286212 M +2 -1 NEWS M +5 -0 digikam/main/digikamapp.cpp http://commits.kde.org/digikam/bdf416be9a5dcc3aedc58e64718b222890c49600 Thanks. Looking forward to try it.
> 1) *why* is it ambiguous -- i.e. which actions are defined to have this
> shortcut combo.
> 2) *how* does the user solve the problem?
> 3) preferably the user should be given the option to choose which one of the
> conflicting actions she wants to be working -- either in this particular
> application or globally across all KDE applications.
I agree that the message box is not really helpful, but, it comes from kdelibs, no code in digikam about this.
Marcel, ok. Maybe this should be reported to kdelibs then. I am not familiar with kdelibs. Are you? If so, will you report the bug there? |