Thunar doesn't clear 'metadata' when emtying trash

Bug #601942 reported by PhracturedBlue
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
digikam (Ubuntu)
New
Undecided
Unassigned
thunar (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: thunar

Xubuntu 10.04 x86-64
thunar 1.0.1-3ubuntu1

I'm not sure if this is a KDE bug or a thunar bug.
When KDE apps (digikam in my case) dump files in trash, they properly go into $HOME/.local/share/Trash, but they also add a file '$HOME/.local/share/Trash/metdadata' which contains:
[Cached]
Size=2123321688

When I use thunar to empty the trash, it removes all files from the trash, but does not update the 'metadata' file. KDE apps (well digikam is the only one I have installed) then think the trash is full and won't add more items to it. removing the metadata file, or setting the Size to 0 resolves the issue.

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Changing the package to digicam, since thunar does not know to delete the extra directory.

Thunar uses two directories in ~/USER_NAME/.local/share/Trash :
     ~/USER_NAME/.local/share/Trash/files
     ~/USER_NAME/.local/share/Trash/info

If digicam is adding a third directory or an unknown directory, thunar will not delete it because it doesn't know it should.

affects: thunar (Ubuntu) → digikam (Ubuntu)
Revision history for this message
Jonathan Kolberg (bulldog98) wrote :

That isn’t a Kubuntu Bug it’s a thunar bug

affects: digikam (Ubuntu) → thunar (Ubuntu)
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

> That isn’t a Kubuntu Bug it’s a thunar bug

I'm always happy to see such counterproductive behavior. It'd be nice if you could elaborate a bit, otherwise we're going to continue playing ping-pong with this bug report, ad nauseam. Thanks.

This metadata directory doesn't seem to be contained on the trash-directory specification (<http://www.freedesktop.org/wiki/Specifications/trash-spec>), so unless you prove me wrong, I think thunar works as expected.

Changed in thunar (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.