GNOME Bugzilla – Bug 648413
sorting by size doesn't work for remote folders
Last modified: 2013-07-20 16:26:21 UTC
Created attachment 186446 [details] [review] fix sorting for remote folders When scanning a remote folder, clicking on the "Size" column header doesn't give meaningful sort order. This happens with Baobab from latest Git as well as with Baobab 2.31.1 on Ubuntu 10.10. To reproduce: - start baobab - go to Analyzer -> Scan Remote Folder... - select Type: SSH, Server: localhost, Folder: /etc/X11; click Scan - wait for scan to finish - observe that result list is sorted by size, and is incorrectly sorted - click on the "Size" column header and observe that entries are not sorted correctly - click on "Usage" column header and observe that entries are sorted correctly It appears that for remote folders, "allocated size" is set to 0 for each folder, yet sorting is still done by allocated size. Attached is a patch which fixes this.
This should be fixed by commit bef030edf73985564b01658b94682663d00c7601