Bug 404619

Summary: After I set del key as shortcut to delete files permanetly, plasma sends file to trash when I cancel the dialog to confirm the deletion
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, plasma-bugs
Priority: NOR    
Version: 5.17.1   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Patrick Silva 2019-02-20 21:17:21 UTC
STEPS TO REPRODUCE
1. search for "standard shorcuts" kcm in the apps launcher and open it
2. search for "delete" action, change current shortcut to delete key, apply the change
3. restart plasma
4. select any file located on your desktop
5. press delete key
6. a dialog shows up asking for your confirmation to delete the file permanently
(click "Cancel" button)

OBSERVED RESULT
plasma sends your file to trash

EXPECTED RESULT
the file remains on your desktop

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.15.1
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1

Additional info
Observed result does not occur if I use context menu + shift key instead of keyboard shorcut.
Comment 1 Nate Graham 2021-03-10 21:23:21 UTC
Ooh this! I fixed this a few months ago!
Comment 2 Nate Graham 2021-03-10 21:24:18 UTC
Ultimately the same problem and the same fix as Bug 426573.

*** This bug has been marked as a duplicate of bug 426573 ***