Bug 515045

Summary: Mount-specific trash stopped working after version update
Product: [Applications] dolphin Reporter: sampo.osmonen
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dolphin-bugs-null, oliver.schramm97
Priority: NOR    
Version First Reported In: 25.12.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The error message with the trash folder created by Dolphin visible

Description sampo.osmonen 2026-01-25 08:42:26 UTC
Created attachment 188862 [details]
The error message with the trash folder created by Dolphin visible

SUMMARY

I updated from Fedora 42 to Fedora 43 recently (earlier Dolphin version: 25.08.0). After the update, my Dolphin installation can no longer use the trash directory in my home directory which is a BTRFS subvolume mounted into a specific path. Trying delete a file into the trash on that volume gives me this Dolphin error dialog:

"The trash is not available for this item’s location. Permanently delete it instead?"

This used to work in the previous 25.08.0 version I had, so it might be a Dolphin bug. I have correct write access to everything on the disk, *and* I could verify that if I delete my trash folder (named .Trash-1000) in the root of the mount point, Dolphin automatically re-creates it when I try to delete a file, but Dolphin still gives me the same error instead of moving the file to the trash folder it created.

My mount point is defined in my /etc/fstab file like this:

UUID=b6804452-d57f-49e8-af88-eff3df29ef8c /media/me/Tiedostot  btrfs   subvol=Tiedostot,compress=zstd:1,x-systemd.device-timeout=0 0 0


STEPS TO REPRODUCE
1. Have a BTRFS volume or sub-volume on your disc with it mounted into a path
2. Navigate to the volume's mount point
3. Create a file there
4. Try to delete the file

OBSERVED RESULT
There should be the error "The trash is not available for this item’s location"

EXPECTED RESULT
The file should get moved to a `.Trash-*` folder in the root of the mount point.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 43
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION
Comment 1 sampo.osmonen 2026-01-25 10:00:16 UTC
Okay, looks like the issue may be that my volume is mounted at `/media/me/Tiedostot`, so under the `/media` root folder. It's not an USB media but I used that path since I previously used an external USB for some of my files. I tried `gio trash somefile` on that volume and it says "Trashing on system internal mounts is not supported". I suspect Dolphin or some other system component has changed to work similarly so that it detects `/media` as a folder where it shouldn't create a trash. I'll leave this open at for a while, and it also might be worth considering whether it would still be a good idea to let Dolphin create a .Trash folder on folders mounted under `/media` too.

Also, here's what Dolphin prints in my stderr when the error happens:

kf.kio.workers.trash: No trash directory found for  "/" ! TrashImpl::findTrashDirectory returned -3
Comment 2 Oliver Schramm 2026-01-29 15:20:36 UTC
Thank you, this is being fixed. The fix is currently scheduled to be released in March.

*** This bug has been marked as a duplicate of bug 513350 ***