Comment 28 for bug 880533

Revision history for this message
In , Hjudt-l (hjudt-l) wrote :

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.