After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 641035 - `Trash full' icon displayed even when Trash is empty
`Trash full' icon displayed even when Trash is empty
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: Trash
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-31 14:31 UTC by jellegeerts
Modified: 2021-06-18 15:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.91/3.0



Description jellegeerts 2011-01-31 14:31:54 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).
Comment 1 André Klapper 2011-02-01 12:33:30 UTC
Which GNOME and nautilus version is this about?
Comment 2 jellegeerts 2011-02-01 12:34:44 UTC
GNOME 2.30.2 and Nautilus 2.30.1.
Comment 3 Eugene 2011-07-17 19:59:35 UTC
I also have this bug.  Nautilus 3.0.2
Comment 4 Eugene 2011-07-17 20:01:05 UTC
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.
Comment 5 J.B. Nicholson 2011-12-27 23:55:05 UTC
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.
Comment 6 André Klapper 2021-06-18 15:18:06 UTC
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.