i am having a strange issue since i moved to zfs. plasma trash doesnt show all the trash cans. if i use trash-cli, all the expected files and filesystems work just fine. So it seems to be just a problem with plasma. Any ideas where i can try to troubleshoot this?
Assuming you know everything you need to know about trashing data on LInux.
The system keeps a .Trash-$UID folder in the root of the relevant filesystems where it stores the file and metadata - the data only relates to the user specified by the $UID.
If the files has been trashed by another $UID you will not have access to them, nor will they be shown.
The system creates a ~/.local/share/Trash possibly to keep track of trashed data within the user’s home folder.
Filemanagers may have individual settings on how data stored on removable media are tracked. It has been seen that instead of storing the trash data on the removable media - the data was moved to the user’s home Trash folder.
I suggest you check Trash management - ArchWiki for further information.
It should be added that Dolphin shows Trash folders as a unified view, as I mentioned in a thread last year:
Apparently ZFS is a bit funny when it comes to Trash. Emptying the Trash does not immediately recover the space taken up by the deleted files. If you have snapshots referencing the deleted files, then that space will still be taken up until you delete the snapshots, according to this Reddit thread: Deleted files behavior : r/zfs
i would agree with you, except using trash-cli shows the files i deleted correctly. This seems to be just a plasma issue. I used the arch wiki to find trash-cli. I also loaded gtrash and it shows the trash correctly. So I dont think it is a problem with the underlying trash system.
The trash system is based on the relevat freedesktop.org specification
Plasma uses kio for filesystem operations and you may have stumbled upon a bug in their implementation.
Manjaro does not fix upstream bugs - please create an issue with the relevant section on bugs.kde.org.
Since you mention gtrash display correct - you may be able to test this by ensure gvfs is installed an using e.g. pcmanfm-qt (which relies on gvfs for filesystem operations)
i wonder if gvfs got broken during an update. seemed to be a recent thing. Ill try.
I installed pcmanfm-qt and all the expected files are there. so apparently it is a bug with plasma/dolphin. (as an aside… this is a pretty sweet little program).
I would love to file a bug, but i have never done that before.
I figured out how to submit one.
Could I suggest you put e.g. EDIT: when you have changed something in your post as it will make it clearer to readers; a separate line will also help.
Also, if you could post a link to where you filed the bug report, this may also be really helpful!
Cheers.
Just updated to plasma 6.3.2 and it seemed to have fixed this issue. So it was definitely a plasma bug.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.