| 1 | Currently, BColumnListView render sizes (in BSizeColumn, src/kits/interface/ColumnTypes.cpp) using "KB", "MB", etc suffixes. |
| 2 | |
| 3 | The sizes are acutally multiples of 1024, not 1000, and so the suffix should be KiB, MiB, etc. |
| 4 | |
| 5 | Ideally, the code would be adjusted to use string_for_size, which will not only do this, but also make sure to use the correct decimal separators depending on the user locale preferences. But, using string_for_size makes it more complicated to do "smart" string truncation (removing the least significant digits) to fit the text in the column when it is too small. See #13882 for an example of what happens when string_for_size is used without care. |