GNOME Bugzilla – Bug 776272
add disk usage refresh button
Last modified: 2018-02-25 10:33:05 UTC
The disk usage page never refreshes. It would be great to have a refresh button to avoid exiting baobab and starting it again to update the disk usages.
Created attachment 350630 [details] [review] Patch to add reload menu option to the locations list. This patch adds a menu option to reload the current location list. For this it calls LocationList.update (), which is otherwise already automatically called on mount changes. In addition LocationList.update () now also calls updated Location.update () for each location so file-system sizes also get updated. Location.update () was altered to handle main volume, home folder and recent files. Not sure if some sort of visual feedback is needed so the user knows the list was updated? The "<Primary>r" accelerator already works to refresh the list. F5 should be probably added as an additional accelerator. That could be implemented as part of bug 762557.
Created attachment 350635 [details] [review] Patch to add reload menu option to the locations list. Fix sftp mounts. Not sure if I encountered a bug or it is intended behavior to not mark sftp mounts as remote locations.
Created attachment 362478 [details] [review] Add a timeout to regularly update disk usage information I prefer to automatically update the disk usage, instead of having to press a refresh button. As for the sftp mount not being recognized as remote, it was indeed another bug. A fix was commited for that, too.
Attachment 362478 [details] pushed as 9dbfb01 - Add a timeout to regularly update disk usage information
*** Bug 793793 has been marked as a duplicate of this bug. ***