Bug 523348 - Selection mode in trash shows move to trash instead of delete permanently
Summary: Selection mode in trash shows move to trash instead of delete permanently
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: Selection Mode (other bugs)
Version First Reported In: 26.04.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-07-21 17:03 UTC by Robin Viollet
Modified: 2026-08-11 09:16 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Viollet 2026-07-21 17:03:03 UTC
DESCRIPTION
When using the selection mode in the trash, there is button to move items to trash, instead of permanently deleting them

STEPS TO REPRODUCE
1. Open the trash in Dolphin with <Space>
2. Select at least one item

OBSERVED RESULT
The third button shows "Move to trash"

EXPECTED RESULT
The third button should show "Delete permanently"

SOFTWARE/OS VERSIONS
Operating System: ArchLinux
KDE Plasma Version: 6.7.3
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1

ADDITIONAL INFORMATION
I am willing to contribute to fix this
I looked at the code, there is already a "Delete contents" action but it is never shown to me, even when pressing Shift
Comment 1 TraceyC 2026-07-22 18:58:25 UTC
Thanks for the bug report. I can easily reproduce this on Plasma built from git-master following the same steps.

It does seem redundant to have "Move to Trash" in the Trash folder, although it seems to act as Delete.
In the Trash folder, when highlighting files and using that button, the items disappear. 
I did a full drive search for one of the files I had tested with and it was no longer on disk.

So it looks like the button is doing the logical thing, but the name is wrong.
Comment 2 Bug Janitor Service 2026-08-10 21:38:34 UTC
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/1382
Comment 3 Méven 2026-08-11 09:01:54 UTC
Git commit e185d308c57c65c8901eb74b20b288c5ed202853 by Méven Car, on behalf of Robin Viollet.
Committed on 11/08/2026 at 09:01.
Pushed by meven into branch 'master'.

selectionmode: Show Delete action in trash

When opening the selection in trash, show "Permanently Delete" instead of "Move
to Trash"

M  +5    -1    src/selectionmode/bottombarcontentscontainer.cpp

https://invent.kde.org/system/dolphin/-/commit/e185d308c57c65c8901eb74b20b288c5ed202853
Comment 4 Méven 2026-08-11 09:16:54 UTC
Git commit d392e6b5fae18d78233344fe9d01931fc404b045 by Méven Car.
Committed on 11/08/2026 at 09:07.
Pushed by meven into branch 'release/26.08'.

selectionmode: Show Delete action in trash

When opening the selection in trash, show "Permanently Delete" instead of "Move
to Trash"


(cherry picked from commit e185d308c57c65c8901eb74b20b288c5ed202853)

3725bf5d Show Delete action in selection mode in thrash

Co-authored-by: Robin Viollet <kde@viollet.ch>

M  +5    -1    src/selectionmode/bottombarcontentscontainer.cpp

https://invent.kde.org/system/dolphin/-/commit/d392e6b5fae18d78233344fe9d01931fc404b045