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 583797 - Trash applet icon shows trash after being emptied
Trash applet icon shows trash after being emptied
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2009-05-25 12:40 UTC by C Wright
Modified: 2018-05-24 11:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
Printscreen showing the occurrence of the bug in Ubuntu 9.04. (281.36 KB, image/png)
2009-10-15 14:25 UTC, Antonioni Rocha
Details
screenshot.png (95.48 KB, image/png)
2010-12-30 22:28 UTC, Christopher M. Penalver
Details

Description C Wright 2009-05-25 12:40:58 UTC
Please describe the problem:
After deleting a file, and emptying the trash, the trash icon still shows files being in the trash. Also, the trash applet still indicates there are files in in the trash can. Opening the trash window shows no files in the trash

Steps to reproduce:
1. delete test file
2. empty trash
3. check trash applet by moving mouse over icon/ open trash applet window


Actual results:
icon indicates files are in the trash, when no files are visible in the window

Expected results:
icon to indicate no files present

Does this happen every time?
yes

Other information:
Comment 1 Antonioni Rocha 2009-10-15 14:25:09 UTC
Created attachment 145522 [details]
Printscreen showing the occurrence of the bug in Ubuntu 9.04.

Ocurrs in Gnome 2.26.x too.
Comment 2 Christopher M. Penalver 2010-12-30 22:28:34 UTC
Created attachment 177283 [details]
screenshot.png

Downstream bug may be found at:
https://bugs.launchpad.net/gnome-applets/+bug/648539

TEST CASE: Plug in a Western Digital My Book ( Model# WDBAAF0010HBK-NESN ) then delete something on the HDD, empty the Trash, then right click the My Book Desktop icon and click "Safely Remove".

WORKAROUND: Restart the computer, the full Trash Bin icon becomes an empty one.

Binary package hint: gnome-applets

1) lsb_release -rd
Description: Ubuntu 10.10
Release: 10.10

2) apt-cache policy gnome-applets
gnome-applets:
  Installed: 2.30.0-3ubuntu3
  Candidate: 2.30.0-3ubuntu3
  Version table:
 *** 2.30.0-3ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages
        100 /var/lib/dpkg/status

3) Thank you for reading this. What is expected to happen is when one empties the Trash Bin file via secondary clicking Trash Bin icon, primary clicking Empty Trash, then primary clicking Empty Trash button, the icon would show it is empty.

4) What happens instead is that the Trash Bin still shows it is full (please see screenshot.png). If any questions exist please ask.
Comment 3 Christopher M. Penalver 2012-09-15 18:35:55 UTC
I use Xubuntu now, which does not make use of gnome-applets. This issue is considered closed.

lsb_release -rd
Description: Ubuntu quantal (development branch)
Release: 12.10

apt-cache policy gnome-applets
gnome-applets:
  Installed: (none)
  Candidate: 3.5.91-0ubuntu1
  Version table:
     3.5.91-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ quantal/universe i386 Packages
Comment 4 Arthur Tan 2014-06-16 23:49:18 UTC
I'm using Ubuntu 14.04 with MATE 1.8. This issue still exists. 

If you delete a file on an external drive and then eject, you get a dialog box asking if you want to empty trash on the external device. If you click yes, then the desktop trash applet fills up and the external disk is unmounted. However, at this point, it is impossible it empty the desktop applet even though trash has already been emptied from the external device.
Comment 5 Arthur Tan 2014-06-17 23:22:12 UTC
Actually, I want to clarify.

If you delete a file on an external drive, then trash fills up. If you don't empty trash before ejecting the drive, then you get a dialog box asking if you want to empty trash to free up space on the external drive. If you click Yes, then the files on the external drive are deleted but the trash applet on the desktop never empties.

If you empty trash before ejecting, then everything works as normal. The desktop trash applet never empties if you select eject before emptying trash. I can attach a screenshot if it helps.
Comment 6 GNOME Infrastructure Team 2018-05-24 11:52:12 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/220.