GNOME Bugzilla – Bug 583797
Trash applet icon shows trash after being emptied
Last modified: 2018-05-24 11:52:12 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:
Created attachment 145522 [details] Printscreen showing the occurrence of the bug in Ubuntu 9.04. Ocurrs in Gnome 2.26.x too.
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.
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
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.
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.
-- 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.