GNOME Bugzilla – Bug 641035
`Trash full' icon displayed even when Trash is empty
Last modified: 2021-06-18 15:18:06 UTC
It sometimes occurred to me that the `Trash full' icon was displayed even after I empty the Trash. Also, when I opened the Trash with Nautilus, it displayed `0 items' in the status bar. Now I'm not yet sure how this situation arose, but I was able to reproduce it using the following steps: 1. Plug in a removable storage device. 2. Delete a file from it so a `.Trash-XXX' directory is created on the device. 3. Execute `killall gvfsd-trash`. 4. Open the Trash from Nautilus (e.g. using the desktop icon) so the `gvfsd-trash' daemon is started again. 5. If one now empties the Trash, the icon displayed is the `Trash full' icon, even though one cannot see any files in the Trash from Nautilus. 6. Execute `killall nautilus`. 7. Observe that the expected `Trash empty' icon is displayed again, and everything seems to work again (the icon state is correct when one deletes files and empties the Trash).
Which GNOME and nautilus version is this about?
GNOME 2.30.2 and Nautilus 2.30.1.
I also have this bug. Nautilus 3.0.2
Currently I have no files in trash, but nautilus displays 'Trash full' icon. Pressing 'Empty trash' button in nautilus does nothing - the icon remains the same.
I'm seeing this behavior with Nautilus 3.2.1 on Ubuntu 11.10 AMD64. The trash folder shows nothing to delete (when I bring up the trash folder in Nautilus the window is empty). The trash icon managed by Unity's dock shows an empty trashcan icon, yet I can right-click on Nautilus' trash icon on the left side of a Nautilus window and pick "Empty Trash" (an option that I shouldn't be able to make). Unity's "Empty Trash" context menu choice is unavailable which this matches Unity's trash icon. I mention Unity here because I don't understand how Unity and Nautilus can reach different conclusions about the status of the trash directory even after emptying the trash. Like Eugene's experience in comment 4, if I pick Nautilus' "Empty Trash" and confirm, Nautilus empties the trash but Nautilus' trash icon never reflects this change and I can use Nautilus to empty an already empty trash.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version of Files (nautilus), then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/nautilus/-/issues/ Thank you for your understanding and your help.