trash is not being updated in gnome

Bug #206404 reported by redacted
This bug report is a duplicate of:  Bug #34247: Trash always empty.. Edit Remove
2
Affects Status Importance Assigned to Milestone
gnome-applets (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

I'm not sure if this is a gvfs issue or a gnome issue, but when using gvfs, the trash on the gnome desktop and the trash-applet aren't being updated properly. They don't change icons when trash is added and they don't actually register that trash is gone when it is emptied. Also, emptying trash from the right-click menus hasn't worked for me.

I'm using Hardy Beta 1.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Do you use the cd or an installation? What filesystem is used? How do you move things to the trash? What do you mean than the right click menu action didn't work? Did you get an error?

Changed in gvfs:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
redacted (redacted) wrote :

I installed fresh from the Beta cd. I use JFS. It's happened whether I click and drag or if I delete using the delete key or by right clicking and deleting. I didn't get an error when I used the right-click menu action. Nothing happened.

This seems to happen more often with Compiz disabled, if that helps at all.

Revision history for this message
redacted (redacted) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

not confirming, could be due to a jfs bad interaction, not sure if gvfs has been tested a lot there

Revision history for this message
redacted (redacted) wrote :

Is there any way I can help to test? Or perhaps any kind of debug I could do? I know it's not the easiest bug to track down.

Revision history for this message
Sebastien Bacher (seb128) wrote :

you are welcome to debug the corresponding code, otherwise that's not likely that somebody from the ubuntu team will work on that before hardy, jfs is not a standard option and we have limited ressources

Revision history for this message
redacted (redacted) wrote :

How might I go about doing that since it's not an error or a crash, just more of a logic bug?

Revision history for this message
Sebastien Bacher (seb128) wrote :

the first thing would be look if file monitoring is working on jfs

Revision history for this message
redacted (redacted) wrote :

How would I do that? I have zero experience using gvfs.

Revision history for this message
Sebastien Bacher (seb128) wrote :

install gvfs-bin, run gvfs-monitor-dir .local/share/Trash, delete some file and note if the monitor list the changes

Revision history for this message
Albert Y. C. Lai (trebla) wrote :

I can reproduce this both in LiveCD and in an installation upgraded from 7.10 and updated to the latest updates. Compiz on in both cases.

I use reiserfs. I will try ext3 later. (But if it happens in LiveCD it's bad enough.)

One set of steps I did:

Boot LiveCD
Create folder or create document on desktop (nautilus).
Delete it. Can be: click it and press delete; "move to trash"; open trash window, drag the file to trash window.
Result: trash can icon isn't updated; hover mouse to it and it still says "no item"; and if you opened trash window and dragged the file there, the window doesn't show change, until you click "reload".

There are two things making this hard to reproduce:

Some events cause this problem to disappear. Inserting a USB flash stick is one. E.g., do the above steps, get that result, now insert a USB flash stick, the trash can is suddenly updated.

As soon as the problem disappears, it disappears for good, for that account, even across reboots. You have to create a fresh account to reproduce it. (Of course the reboot part doesn't apply to LiveCD, since that one creates a fresh account.)

Revision history for this message
Albert Y. C. Lai (trebla) wrote :

I have tried a fresh install plus update on ext3. Same observation.

Revision history for this message
Ryan Wynn (ryan.m.wynn) wrote :

I can confirm this also. I have an ext3 filesystem and all updates have been applied since 8.04 Beta.

After doing a rm -rf ~/.local/share/Trash/* and verifying there is nothing in there the icon still shows trash in the bin.

Revision history for this message
Vishal Ravishankar (vishr) wrote :

Another account of Trash not being updated. Upgraded to Hardy yesterday with all the updates done.

1. When I delete a file, the trash icon remains empty and on "Emptying Trash" the files delete permanently. But when I right click on the trash icon (as in the screenshot) the "Empty Trash" dialog remains.

2. And on multiple attempts on deleting files, the trash icon obeys and shows it contains some files yet the 2nd problem still remains (as in screenshot)

Revision history for this message
Sebastien Bacher (seb128) wrote :

is the issue about the nautilus trash or the trash applet? could you describe easy steps to trigger the bug?

Revision history for this message
Vishal Ravishankar (vishr) wrote :

the trash applet present in the panel.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the bug report. This particular bug has already been reported, but feel free to report any other bugs you find.

Changed in nautilus:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.