Created attachment 6251
fix-loading-the-trash-bin-status-at-startup-bug-9513.patch

Attached is a patch which fixes the issue for me. Please try it and
report back if it fixes the issue for _you_ too. At the moment, I cannot
think of a better solution. I hope it does not produce crashes. Maybe
someone else has a better idea and can comment on this.

The first reload (in idle without timeout) fixes the shortcut/treeview
status icon, but it needs at least a second reload (after two seconds)
to fix the "go to" menu item entry. That symbol always shows "full"
initially (though strangely thunar_file_get_item_count tells 0). The
third reload is there just to be safe. Reloading the trash shouldn't be
a very expensive operation.

Please check the behaviour with and without this patch.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/880533

Title:
  Thunar and Trash Applet report that Trash is empty when it is not

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunar/+bug/880533/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to