Document size on disk should be limited to two decimals
Bug #1394723 reported by
Stefano Verzegnassi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Document Viewer App |
Fix Released
|
Low
|
Stefano Verzegnassi |
Bug Description
As in the attached screenshot, the "size on disk" of the document should be limited to up to two decimals.
Also, the size unit used to return this information is the octect (http://
The desired solution is to refer to the byte, using the following suffixes: byte, KiB, MiB, GiB.
DESIRED SOLUTION:
The output should be as follow:
* 1,36 GiB (2 decimals)
* 1,36 MiB (2 decimals)
* 136 KiB (no decimals)
* 136 bytes (no decimals)
DIFFICULTY: Low
Other informations:
* The file to edit is src/app/
Related branches
lp:~verzegnassi-stefano/ubuntu-docviewer-app/fix-1394723
- Bartosz Kosiorek (community): Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
-
Diff: 35 lines (+5/-8)1 file modifiedsrc/app/qml/utils.js (+5/-8)
description: | updated |
Changed in ubuntu-docviewer-app: | |
assignee: | nobody → Stefano Verzegnassi (verzegnassi-stefano) |
status: | Triaged → In Progress |
Changed in ubuntu-docviewer-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:ubuntu-docviewer-app at revision 44, scheduled for release in ubuntu- docviewer- app, milestone 2014-10-30