Files show "0 bytes" immediately after loading to device
Bug #1483218 reported by
Alan Pope 🍺🐧🐱 🦄
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Document Viewer App |
Fix Released
|
Low
|
Stefano Verzegnassi |
Bug Description
Start with a device containing no documents.
Open DocViewer
Copy documents via MTP / adb
Observe the documents appearing in the list.
Note that the file size shows as zero (presumably because DocViewer notices the files arrive before they've finished being written to).
You can force a refresh by switching to grid mode and back to list mode, but it would be nicer if the documents showed up with the correct file size once they have finished copying.
Related branches
lp:~verzegnassi-stefano/ubuntu-docviewer-app/fix-1483218
- Roman Shchekin: Approve
- Jenkins Bot: Approve (continuous-integration)
-
Diff: 11 lines (+1/-0)1 file modifiedsrc/plugin/file-qml-plugin/documentmodel.cpp (+1/-0)
Changed in ubuntu-docviewer-app: | |
milestone: | ww02-2016 → ww08-2016 |
Changed in ubuntu-docviewer-app: | |
status: | Triaged → In Progress |
assignee: | nobody → Stefano Verzegnassi (verzegnassi-stefano) |
Changed in ubuntu-docviewer-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I've identified a bug in `gvfs` that may be causing this in all applications that use the mounted gvfs-fuse filing system to access MTP devices.
Could this bug be a symptom of that? See #1487546.