GNOME Bugzilla – Bug 762677
gtkplacessidebar: avoid irresponsible UI while trashing
Last modified: 2016-07-29 12:05:18 UTC
Found while reviewing nautilus improvements on 762126
Created attachment 322371 [details] [review] gtkplacessidebar: avoid irresponsible UI while trashing We were updating the whole places sidebar when the trash changed. This effectively removes all rows and create new ones for every trash state change. Although when using GtkTreeView it was somehow ok, with the new implementation with GtkListBox this effectively locks the UI while the trash operations are being performed. When performing operations for i.e. 100 files, the UI can be locked for more than 1 minute since gvfs-trash usually takes time. To fix this just update the icon of the trash when the state of the trash change instead of the whole sidebar.
Review of attachment 322371 [details] [review]: that makes a lot of sense. Please update the commit message to say "unresponsive" instead of "irresponsible" though. Those are different things...
Ugh right. Pushed with the commit fix.
hm git bz failed. Here's the commit: https://git.gnome.org/browse/gtk+/commit/?id=20cf42c9ea977fe441c297a531811990876575c7
*** Bug 686332 has been marked as a duplicate of this bug. ***