After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 749491 - Stale disk information
Stale disk information
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: mtp backend
1.25.x
Other Linux
: Normal normal
: ---
Assigned To: Ross Lagerwall
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2015-05-17 06:52 UTC by Ross Lagerwall
Modified: 2015-05-20 06:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mtp: Refresh storage information in query_info (1.61 KB, patch)
2015-05-17 06:53 UTC, Ross Lagerwall
committed Details | Review

Description Ross Lagerwall 2015-05-17 06:52:39 UTC
In Nautilus, if you delete an item and then check the disk free space in that folder, it is unchanged.
Comment 1 Ross Lagerwall 2015-05-17 06:53:26 UTC
Created attachment 303472 [details] [review]
mtp: Refresh storage information in query_info

Get the storage information from the device in query_info() and
query_fs_info() so that the disk space numbers are correct. Previously,
if you deleted an item and checked the free space, it would not have
changed.
Comment 2 Ondrej Holy 2015-05-18 13:09:12 UTC
Review of attachment 303472 [details] [review]:

Looks good!
Comment 3 Philip Langdale 2015-05-18 16:31:28 UTC
Looks good to me too. Thanks!
Comment 4 Ross Lagerwall 2015-05-20 06:44:51 UTC
Pushed to master as e7e6e1cde38f935e04e3e9d651eacf57557ff0c5 and stable as 725eaa2e33a842f812caf59af8a8766461bf9512. Thanks for the reviews!