Bug 435766

Summary: Holding Shift and hitting Delete button sends files to Trash
Product: [Applications] dolphin Reporter: Greg Lepore <greg>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kfm-devel, luigi.toscano, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Greg Lepore 2021-04-15 11:39:56 UTC
SUMMARY
I've been using Shift Delete to permanently remove files in Dolphin, but recently it's been sending them to the Trash instead. According to the shortcut, Shift Delete should bypass the Trash.

STEPS TO REPRODUCE
1. Open Dolpin
2. Select a file
3. Hold the Shift key on the keyboard and hit the Delete button on the Toolbar


OBSERVED RESULT
File is move to Trash

EXPECTED RESULT
File is deleted permanently

SOFTWARE/OS VERSIONS
Dolphin version: 21.03.70 (Which isn't in the above list, for some reason.)
Operating System: KDE neon 5.21
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Kernel Version: 5.4.0-71-generic
OS Type: 64-bit
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 2600 Six-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: GeForce GT 1030/PCIe/SSE2
Comment 1 Greg Lepore 2021-04-15 14:10:05 UTC
I'm going to close this one, the toolbar button is Move to Trash, not Delete. I think the previous behavior with holding the Shift Button and clicking Move to Trash was to Delete the file, but I think the current behavior is the correct one.
Comment 2 Nate Graham 2021-04-15 15:25:17 UTC
Yes, there's a separate toolbar button for "permanently delete" :)
Comment 3 Luigi Toscano 2021-04-15 15:34:16 UTC
What is the reason for moving the shift+delete shortcut to move to trash? Isn't it the same as delete alone?
Comment 4 Greg Lepore 2021-04-15 15:39:48 UTC
I worded my report incorrectly, I was holding Shift and clicking on the Move to Trash button, expecting that to Delete, rather than moving the file to the Trash. I believe this was the previous behavior with that button, but it should probably just Move the file to the Trash, as the button states.

The keyboard combination of Shift and the Delete button still deletes the file.
Comment 5 Luigi Toscano 2021-04-15 15:43:07 UTC
Oh, I see, thanks for explaining!