As already discussed
Details
- Reviewers
asensi martinkostolny gengisdave - Group Reviewers
Krusader - Commits
- R167:004256f00ca9: Set default delete mode to "Move to trash"
Removed krusaderrc config file, started krusader, checked delete mode
+ checked context menu and shortcuts
Diff Detail
- Repository
- R167 Krusader
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
There's a shortcut missing: when you switch to recycle bin, you can't delete files with the keyboard (the popup menu shows "Move to trash" and "Delete").
SHIFT+DEL would be fine, it is mentioned in old changelogs, but it does nothing :(
Found it, I had an alternate shortcut for "Cut" that conflicts with delete. I will try some distros to see if it's a common setting or not.
Try with "CTRL+DEL". Using SHIFT doesn't work for me either which is strange because the code is
op()->emitDeleteFiles(e->modifiers() == Qt::ShiftModifier || e->modifiers() == Qt::ControlModifier);
in krview.cpp.
Another shortcut is F8 (without any modifier support).
Ah, now I read your post update.
Yes, you're right SHIFT+DEL is the default alternate shortcut for the "cut" operation. Looks like this is the default in KDE's "Standard keyboard shortcuts for applications".
But CTRL+DEL is fine too, isn't it?
CTRL+DEL works fine and it doesn't seems to conflicts with other actions (afaik, it is used to delete the whole next word, but we're not in an edit mode).
Dolphin can use SHIFT+DEL to delete files because it seems to ignore the alternate cut command.
Using Kubuntu 16.04: The code gets compiled and the default delete mode is "Move to trash", that's good at least for new users. Thanks, Alex! :-)