Bug 465588

Summary: Selection mode is activated if I press delete key when nothing is selected
Product: [Applications] dolphin Reporter: Patrick Silva <bugseforuns>
Component: Selection ModeAssignee: KFM Developers <kfm-devel>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: felixernst
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Patrick Silva 2023-02-11 15:50:42 UTC
STEPS TO REPRODUCE
1. open Dolphin
2. make sure no file/folder is selected
3. press delete key

OBSERVED RESULT
selection mode is activated

EXPECTED RESULT
nothing happens

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Graphics Platform: Wayland
Comment 1 Felix Ernst 2023-02-12 11:34:58 UTC
This is intentional. You are being asked what you intend to move to the trash because nothing was selected when you pressed the delete key.

I know this is unusual because most applications just do nothing/silently fail when one triggers a keyboard shortcut for something that can't directly be accomplished currently, but helping users to accomplish the task they wanted to accomplish (e.g. delete something) is strictly better than no reaction AFAICT.
Comment 2 Felix Ernst 2023-02-19 12:05:51 UTC
There are more reasons, but I guess I'll simply mark this as resolved.