GNOME Bugzilla – Bug 731247
Trash applet don't change the 'full icon' after the system disconnect a USB driver
Last modified: 2014-07-12 23:11:58 UTC
After than I work with files in a USB pendrive and I disconnect the device from the USB port, if I have files in the trash applet and I delete then from the trash, the "full icon" of trash applet don't change to the "empty icon". The icon only changes correctly when the system is logged out or restarted. Steps: 1. Plug a USB pendrive; 2. Work with some files on this pendrive (create, move and delete to trash); 3. Remove safety the pendrive; 4. Empty the trash; 5. The icon continues "full", even when the trash folder is empty. Probably it has a pattern: This problem occurs when one or more files are deleted from the memory stick and this process automatically creates a hidden folder called ".Trash-1000" (and another hidden files) in the memory stick. The icons are in sync while the memory stick is connected and files are created in and deleted from the memory stick. When the memory stick is disconnected later, this bug occurs when the trash applet is cleaned.
Created attachment 277915 [details] This error occurring in Ubuntu 14.04.
What is a "trash applet"?
The trash applet is the directory of the trash files. When it is cleaned it's icon (full basquet) don't change.
See the similar bugs in the Ubuntu Launchpad (10.04 and 14.04) and their attachments: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/962782 https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1321350
This is probably not the GNOME 2 trash applet listed on https://bugzilla.gnome.org/describecomponents.cgi?product=gnome-applets ? No idea if this is GNOME territory (lower in the stack) or Unity territory... Also, do you really run an ancient unstable Nautilus version (3.9)?
I use the actualized version LTS of Ubuntu, 14.04. I have reported this problem in the Launchpad and it was suggested to me and report it here.
Looking at the screenshot attached here (comment 1), the trash icon in the nautilus window (at the left side of the window, partly obscured by the Unity launcher) is at the "empty" state, so nautilus doesn't have a visible bug here. For more clarity, see the video attached at https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1321350/comments/1 - at 0:39, the Trash icon in the nautilus window is "full". - at 0:40, you empty the Trash - at 0:41, the Trash icon in the nautilus window is now "empty". I also tested nautilus with icons on desktop, and the Trash icon on desktop doesn't exhibit this bug either. (Testing nautilus 3.12.2 on Fedora 20 + gnome 3.12 COPR.) Also, the USB drive is not a factor for me. If all items in the Trash are from the USB drive, then, when the USB drive is removed, the Trash becomes empty, and the icon in nautilus sidebar changes accordingly. If you ignore the Unity Trash "applet", and look only at the icon in nautilus sidebar, do you see this bug?
In the comment 1 the pointer is above the trash applet in the 'full state' even after being cleaned (there are no files in the trash). In the video at 0:45 the panel of files is empty (the buttons to delete files is disabled, too), but the trash applet icon is in 'full state'. I can do it using a large amount of data (some gigas), and I can reply this problem with another pendrives. Remembering that there are a bug confirmed in Ubuntu 12.04 ( https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/962782 ) that I created, but never fixed. This problem continues in 14.04. Well... If you can not solve (and Canonical too), so I can only give up trying to report this problem and live with it - because there's nothing to do here. Thanks to attention!
(In reply to comment #8) > In the comment 1 the pointer is above the trash applet in the 'full state' even > after being cleaned (there are no files in the trash). I don't mean the icon where the pointer is. That's not nautilus, that's Unity Launcher. I mean the one in the nautilus sidebar, in the selected row, the one with orange background, between "Videos" and "Devices". That's where the Trash icon lives in nautilus. And in the video, when you empty the trash, that icon changes from "full" to "empty". Therefore, this bug doesn't happen in nautilus, even in your video. > In the video at 0:45 the panel of files is empty (the buttons to delete files > is disabled, too), but the trash applet icon is in 'full state'. I can do it > using a large amount of data (some gigas), and I can reply this problem with > another pendrives. Yes, but that's in the Unity Launcher, and is not part of nautilus. > Remembering that there are a bug confirmed in Ubuntu 12.04 ( > https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/962782 ) that I > created, but never fixed. This problem continues in 14.04. > > Well... If you can not solve (and Canonical too), so I can only give up trying > to report this problem and live with it - because there's nothing to do here. > Thanks to attention! I believe this is because of a misunderstanding. My assumption is that the bug triager at launchpad redirected you here because it was reported as a nautilus bug. But actually, nautilus Trash icon is not affected by this bug; only Unity's Trash "applet" is. This is not your fault for reporting it as a nautilus bug. It's normal for users not to know the technical details such as what program is responsible for the Trash "applet" you talk about. That's why bug triagers like me and André are here to help find the right place for the bug reports. :) In this case I cannot move to the right place because Unity's bugs are in another site (bugs.launchpad.net). So, I suggest you go back at Launchpad and clarify to the bug triagers there that this bug is not happening in nautilus but rather in the Trash applet of the Unity Launcher, asking for the bug to be moved to the appropriate product. Conclusion: This may be caused by a bug lower in the stack, but we don't know where for now. On the user-visible side, only Unity Launcher is affected, so that's the best starting place for tracking down the bug.
Is this a gnome-applet bug rather than nautilus? I reported the same behavior here: https://bugzilla.gnome.org/show_bug.cgi?id=583797
(In reply to comment #10) > Is this a gnome-applet bug rather than nautilus? Depends on what your "this" is. If your "this" is also the thing in the left lower corner in https://bug731247.bugzilla-attachments.gnome.org/attachment.cgi?id=277915 it's Unity and neither a gnome applet nor nautilus.
I think it's a gnome applet issue. It's not particular to Unity. The same behavior shows up in Debian 7.5/Gnome.