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 161681 - Desktop trash icon doesn't update on mount/unmount of removable volumes
Desktop trash icon doesn't update on mount/unmount of removable volumes
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Trash
2.22.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-12-19 04:20 UTC by J.B. Nicholson
Modified: 2009-01-30 23:12 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description J.B. Nicholson 2004-12-19 04:20:31 UTC
You'll need a removable volume to see this.  I used a USB hard drive.

1. Clear the trash.
2. Mount the removable volume.
3. Copy some files to the removable volume.
4. Move the files from the removable volume to the trash and notice that the
desktop trash icon indicates the trash has something in it.
5. Unmount the removable volume and physically remove the device from the system
(on a USB device, this means unplug the device).
6. Notice how the desktop trash icon is not updated--it still indicates there is
something in it but there is not.  Even if I open up the trash directory
(trash:) I see 0 files in it but the desktop trash icon doesn't accurately
reflect this.

At this point, Nautilus has no way to actually empty the trash.  The files were
in another trash directory which is now not reachable.  So the trash is empty
and the trash icon should reflect this.

What should have happened: The trash icon should get updated every time a
removable volume is mounted or ejected/unmounted.

I'm trying this on an updated Fedora Core 3 GNU/Linux i386 system.  My hardware
is an Asus P2B-D with 2 500MHz Pentium IIIs and 768MB RAM.  I'm using the
built-in USB ports.
Comment 1 Peter den Hartogb 2008-08-19 15:24:18 UTC
I still got this same problem, i use version 2.22.3 of Nautilus
Comment 2 Cosimo Cecchi 2008-08-21 10:38:57 UTC
Updating version as for last comment.
Comment 3 Allison Karlitskaya (desrt) 2009-01-30 23:12:52 UTC
This problem is fixed in the new trash backend.