Bug 508624 - After deleting an item, the next or the previous item is selected.
Summary: After deleting an item, the next or the previous item is selected.
Status: RESOLVED INTENTIONAL
Alias: None
Product: dolphin
Classification: Applications
Component: Selection Mode (other bugs)
Version First Reported In: 25.04.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KFM Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-23 01:58 UTC by David Shen
Modified: 2025-08-26 12:51 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 David Shen 2025-08-23 01:58:42 UTC
SUMMARY

After deleting an item, the next or the previous item is selected.

STEPS TO REPRODUCE
1.  Open Dolphin
2.  Select an item and press the Delete key
3.  Observe the selected item after the deletion

OBSERVED RESULT

The following item or the previous item, in case the following item is not available, is selected.

EXPECTED RESULT

No item should be selected, so pressing the Delete key again won't accidentally delete another item.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version:  6.3.6
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Felix Ernst 2025-08-26 12:51:57 UTC
This was an intentional change to fix the bugs https://bugs.kde.org/show_bug.cgi?id=419914 and https://bugs.kde.org/show_bug.cgi?id=181214 (which has three duplicates).

>No item should be selected, so pressing the Delete key again won't accidentally delete another item.

I agree that this can be problematic. The plan is to have better feedback on deletion (for example through a notification) and have a deletion history. Another change that is currently being worked on is allowing to "Undo" such deletions directly from Dolphin.