Bug 444228

Summary: Dolphin can't delete files - "an older item named 'trash:/' already exists"
Product: [Applications] dolphin Reporter: Dan Dascalescu <ddascalescu+kde>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: andrey, kfm-devel
Priority: NOR    
Version First Reported In: 21.08.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot

Description Dan Dascalescu 2021-10-22 08:31:31 UTC
Created attachment 142758 [details]
Screenshot

I have no idea why this ended up happening.

I've emptied the trash a few times today from Dolphin, then from Krusader, I attempted to delete two files. Got this weird error message.
Comment 1 Dan Dascalescu 2021-10-22 08:32:04 UTC
Sorry, not "then from Krusader". In a new instance of Dolphin rather.
Comment 2 Dan Dascalescu 2021-12-04 00:05:11 UTC
I can reproduce this as described in #446450:

1. Launch SMPlayer
2. Open -> File
3. Attempt to delete a file from that dialog
Comment 3 Andrey Fedoseev 2022-05-09 16:16:18 UTC
I had the same issue, but in my case it was a user error.

While migrating my home folder to another OS installation, I accidentally break the `~/.local/share/Trash` folder: its contents became incomplete, and some files there ended up being owned by the `root` user.

Simply removing `~/.local/share/Trash` and restarting Dolphin fixed the issue for me.