storage: should get the disk size of the xdg directories
Bug #1205297 reported by
Sebastien Bacher
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-system-settings |
Fix Released
|
High
|
Iain Lane | ||
ubuntu-system-settings (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Currently we have faked datas in the UI.
Qt/qml don't seem to have a library providing a function to get the size of a directory, that's some tedious work (needs to traverse the subdirectories, it's slow enough that it can't block either) ... ideally we can re-use whatever the filemanager is doing, but if they don't provide the feature we might have to implement that by ourself (or would it make sense to add it to the platform?)
Related branches
lp:~laney/ubuntu-system-settings/measure-real-directory-size
- Sebastien Bacher (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
- Allison Karlitskaya: Pending requested
-
Diff: 629 lines (+369/-43)9 files modifieddebian/control (+1/-1)
plugins/about/Storage.qml (+77/-24)
plugins/about/StorageBar.qml (+39/-13)
plugins/about/StorageItem.qml (+10/-2)
plugins/about/about.pro (+2/-1)
plugins/about/click.cpp (+9/-1)
plugins/about/click.h (+2/-0)
plugins/about/storageabout.cpp (+187/-1)
plugins/about/storageabout.h (+42/-0)
Changed in ubuntu-system-settings: | |
assignee: | nobody → Iain Lane (laney) |
status: | New → In Progress |
Changed in ubuntu-system-settings (Ubuntu): | |
status: | New → Fix Committed |
Changed in ubuntu-system-settings: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:ubuntu-system-settings at revision 397, scheduled for release in ubuntu- system- settings, milestone Unknown