blue-systems / plasma-5.5

Plasma 5.2 - 5.5
0 stars 0 forks source link

folderview: marking an item and pressing "Del" does not trigger anything (should trigger delete or move to trash) #20

Closed star-buck closed 9 years ago

eikehein commented 9 years ago

This is because there's no Qt Quick API for KStandardAction at the moment, and things like this are configurable shortcuts, so hardcoding e.g. "Del" to do this would be broken. I can probably implement some custom KStandardAction support for Folder as a stopgap, but there's a broader theme of no real support for KDE's configurable standard shortcuts in Plasma right now.

eikehein commented 9 years ago

"Del" should now invoke the trash action, backed by platform shortcut configuration. Unfortunately supporting Shift+Del for delete isn't really possible right now, it would have to be hardcoded because the Qt StandardKey mechanism isn't aware of a distinction between Trash and Delete.