Bug 354100

Summary: Response to delete by keyboard shortcut very slow
Product: [Plasma] plasmashell Reporter: Gregor Mi <codestruct>
Component: Desktop icons & Folder View widgetAssignee: Eike Hein <hein>
Status: RESOLVED WORKSFORME    
Severity: minor CC: plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.4.2   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gregor Mi 2015-10-19 19:37:44 UTC
Reproduce:
1. Select an item on the desktop
2. Hit the DEL key
3. Nothing happens...
4. ...after about 300ms the item disappears without further confirmation.
Comment 1 Eike Hein 2015-10-19 19:53:58 UTC
What sort of confirmation do you expect exactly?
Comment 2 Eike Hein 2015-10-19 20:04:15 UTC
I can confirm the strange delay (it's fast via the context menu so it has to be possible to improve it somehow).
Comment 3 Gregor Mi 2015-10-19 20:30:11 UTC
Expected sort of confirmation: same as in dolphin, I would suggest. 

In dolphin this behaviour is configurable in the Confirmations tab of the General category of the Preferences dialog. (On a side note, with dolphin 15.07.90, this seems to be broken: I got no confirmation regardless of the setting)
Comment 4 Eike Hein 2015-12-07 23:02:44 UTC
Turns out the speed diff I perceived doesn't really exist after all - I was accidentally comparing Delete and what Del does in Folder View (Move to Trash). They're equally fast otherwise and the same speed as Dolphin, so if that's too slow it's really down to KIO::trash(). The code also does a askDeleteConfirmation() so it's settings-backed.
Comment 5 Gregor Mi 2015-12-08 18:25:47 UTC
I still have the issue. I'll try again with Plasma 5.5.