Contents size in properties fluctuates
When opening the properties window for a lot of directories (in my case I selected around 100 old git checkouts), the contents size fluctuates, sometimes higher, sometimes lower.
Printing the text in directory_contents_value_field_update()
:
** Message: 11:44:57.423: 8,800 items, totalling 347.4 MB
** Message: 11:44:57.669: 8,393 items, totalling 296.8 MB
** Message: 11:44:57.914: 7,979 items, totalling 291.3 MB
** Message: 11:44:58.161: 8,435 items, totalling 279.0 MB
** Message: 11:44:58.403: 9,637 items, totalling 284.9 MB
This seems to happen because the repeated calls to nautilus_file_get_deep_counts()
yield different results. Using the debug patch attached, I get messages like:
** Message: 11:44:42.678: yelp-xsl got smaller, was 6172506 is now 0
** Message: 11:44:42.678: yelp-tools got smaller, was 137605 is now 0