Bug 465588 - Selection mode is activated if I press delete key when nothing is selected
Summary: Selection mode is activated if I press delete key when nothing is selected
Status: RESOLVED INTENTIONAL
Alias: None
Product: dolphin
Classification: Applications
Component: Selection Mode (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KFM Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-11 15:50 UTC by Patrick Silva
Modified: 2023-02-19 12:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.