mate-desktop / caja

Caja, the file manager for the MATE desktop
https://mate-desktop.org/
Other
265 stars 143 forks source link

Caja File Size Calculation is Incorrect #1683

Closed ghostplant closed 1 year ago

ghostplant commented 1 year ago

For example, the file size in caja file property should be (byte_size / 1024 / 1024) in MB. The current calculation seems to be (byte_size / 1000 / 1000) MB.

cwendling commented 1 year ago

1000 units is in line with current standards, see e.g. Wikipedia. 1024 units use MiB nowadays.

ghostplant commented 1 year ago

So, is there a configuration to see/change to MiB? The size doesn't align with all other tools and all other platforms completely, since their all standard is to report MiB. This makes me hard to compare 2 file size between 2 platforms / net-disk, etc.

cwendling commented 1 year ago

As a matter of fact there is: Preferences → Display → Size → Show file sizes with IEC units.

ghostplant commented 1 year ago

Great! Thank you.