transfer progress doesn't account for sync
Affected version
43.2
Steps to reproduce
- transfer large file (>1.0GB, ie. a distro .iso) from system to USB
Current behavior
Transfer completes within seconds, and files app announces completion in notification panel.
Checking watch -d grep -e Dirty: -e Writeback: /proc/meminfo
while running sync
the 'Dirty' field shows most of the file hasn't actually completed writing to the USB.
Unmounting isn't possible as the USB transfer is in progress, even though there's nothing to visually show this.
Expected behavior
Transfer completes synced to the write buffer to reflect to actual rate of transfer.
Additional information
This isn't necessarily incorrect behaviour, as the same behaviour may be present when running cp or rsync to transfer a large .iso to a USB, but in terms of HIG and UX this isn't ideal as users are lead to believe that a write has completed earlier than expected, and may encourage removing USB devices even though their writes haven't finished - leading to corrupted data.