Ubuntu

Trash always full

Reported by mapinas on 2008-09-12
190
This bug affects 31 people
Affects Status Importance Assigned to Milestone
gnome-applets (Ubuntu)
Low
Ubuntu Desktop Bugs
Nominated for Lucid by David Clayton

Bug Description

I've seen other users having problems with that the trash appears empty even though it isn't. I have the opposite problem: my trash icon on the desktop always appears full, even if empty.

Marcus Asshauer (mcas) wrote :

Thank you for reporting this bug. Please add your ubuntu version and tell us which desktop enviroment and theme you are using.

mapinas (mapinas) wrote :

Everything is out of the box defaults: Hardy with GNOME and Human theme.

Dragomir Minkovski (dejuren) wrote :

I can confirm this - empty trash folder, but the flash icon is showing it's full. It can be related to case when some file is moved to the Desktop via network workstation (MAC or Windows), it is not shown until reboot/logout. Otherwise file is there and is accessible on the terminal.

Pedro Villavicencio (pedro) wrote :

Thanks for the report, May you tell us a few steps in order to recreate the issue? Do you have that partition in removable device or in another hard drive? Which type of partition is that one? Does the trash applet reflect the right status?

Dragomir Minkovski (dejuren) wrote :

The file system type is xfs (my home directory is on /dev/sdc4): on an NFS/autofs mounted filesystem.

/dev/sdc4 xfs 372231488 167990656 204240832 46% /export/v4

smmalis37 (smmalis37) wrote :

This happens to me all the time, and really is quit annoying.
Intrepid/GNOME/Custom theme
All updates installed.

Sebastien Bacher (seb128) wrote :

could somebody having the issue send the bug to bugzilla.gnome.org where the people writting the code will read it?

Sebastien Bacher (seb128) wrote :

could you try if that's still an issue in jaunty?

Sebastien Bacher wrote:
> could you try if that's still an issue in jaunty?
>

OK, I was just waiting for Alpha 3 to come out before giving it a try;
so can probably do this in the next few days.

Sebastien Bacher (seb128) wrote :

should be fixed in jaunty, closing the bug, you can reopen if you still get the issue though

Changed in gnome-applets:
status: Incomplete → Fix Released

This bug still happens in Jaunty. I suffer it from time to time, and the worst problem is that I don't know how to reproduce.

After the trash applet is "locked" into "full mode" (I can't think of a better way of explaining it) it won't revert to normal behaviour until I log out and on again. Meanwhile I can delete files, empty the trash (and the files will disappear from ~/.local/share/Trash but the trash icon will stay "full") and even open it to see it is empty.

When the trash applet is behaving wrong, it always says "N items in Trash" when I hover the mouse over the applet icon, let's say that "N" is "5": if I delete another file, "N" is "6" (correctly", but if I empty the trash, "N" is "5" again, not "0" as it should.

If I manage to reproduce the bug (now it happens randomly as far as I can tell) I'll update the report.

Raúl

Reopening as it is still happening in Jaunty.

Changed in gnome-applets (Ubuntu):
status: Fix Released → Confirmed
Sebastien Bacher (seb128) wrote :

don't reopen a closed bug because you have a similar issue open a new one rather

Changed in gnome-applets (Ubuntu):
status: Confirmed → Fix Released
norio@maxiware.co.za (norio) wrote :

I'm having this issue in 9.10. To replicate:

- Insert usb disk
- Delete files
- Unmount
- Empty trash

It will delete local files but seems to keep a record of the files on the usb disk that weren't yet deleted, so never shows an "empty trash" icon.

Hope this helps.

Changed in gnome-applets (Ubuntu):
status: Fix Released → Confirmed
Kip Warner (kip) wrote :

I also confirm this problem and can attest to the observations noted previously. I am running Lucid on amd64. This bug and 390608 appear to be the same.

David Clayton (dcstar) wrote :

Yep, it "knows" there are Trash items in the now removed device but should not really remain in that status once the device is removed. Putting the device back in allows you to empty the trash and reset the status of the icon.

Something in the remove script needs to either reset or refresh the Trash status so it is accurate for still mounted/attached devices.

Kip Warner (kip) wrote :

Problem still occurs for me under Maverick / amd64.

Any fix for this? Thank you...

dniMretsaM (dnimretsam) wrote :

If you recently deleted files from an external HDD, USB drive, etc. and then removed it, you need to plug the device back in and THEN empty the trash. I know this works because I just did.

LoneWolf_53 (spezi-machek) wrote :

I'm running Maverick AMD64 and it behaves the same way if I've had a USB drive inserted.

If I put the USB drive back in and empty the trash if behaves normally again.

Obviously some sort of glitch involving trash bin and removable drives.

madbiologist (me-again) on 2013-02-16
tags: added: lucid
tags: added: maverick
lessonae@gmail.com (lessonae) wrote :

First in Ubuntu 12.04LTS 64bit I have had the problem. Had 10.04LTS before

David Clayton (dcstar) wrote :

It seems like the Trash icon has some sort of database of mounted drives to keep tabs of items that have been deleted, and then does not refresh this database to only display the status of actually mounted drives.

Since it can never "Empty" the trash of unmounted drives, the display remains showing items to be removed on unmounted or removed drives (and the removable drives could have their Trash actually emptied on other systems anyway).

It seems that the Trash icon needs to hook into the mount/unmount processes to keep itself only displaying the status of drives that are actually mounted on the system at any particular time.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers