Rounding on file sizes below 5.12 kilobytes

Bug #1882469 reported by ownedbycats on 2020-06-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

Calibre 4.18 (x64), Windows 10 Home.

Have not found any settings/tweaks related to the display of the filesize in the book details, so consider any of them to be default values.

On certain book records with very small book files (it appears to be under 5.12 kB/5242 bytes), the displayed filesize rounds down and displays as 0.00 MB. More than once, this has caused a brief moment of panic.

If it wouldn't be much of an effort, I would suggest having files under 512 kB instead round up to 0.01 MB.

Thank you.

tags: added: enhancement-request
description: updated
summary: - Rounding on file sizes below 512 kilobytes
+ Rounding on file sizes below 5 kilobytes
summary: - Rounding on file sizes below 5 kilobytes
+ Rounding on file sizes below 5.12 kilobytes
description: updated

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers