Closed muellerto closed 9 months ago
Nice! This is a good one.
Should be fixed now @muellerto.
the alignment doesn't expect such large numbers
You're totally right. The digits counter function was counting only up to 10 digits: extended to handle up to 19 digits.
Oh, is there really a file system supporting 19 (!) digits? This would be N PB! (Don't think that I will ever have so much stuff all together ...)
Don't think that I will ever have so much stuff all together
The time will come, and our software will fail.
Describe the bug Not a big thing. But when you have really big files the right aligned file sizes get disturbed.
Expected behavior The file sizes should all be right aligned.
Screenshots
Someone gave me really big files containing dumped database contents (with billions of spaces in them, and it's indeed also Unicode ... don't ask.) This looks like this:
It seems that the alignment doesn't expect such large numbers. The largest number expected is probably "N GB" - file No.4 (8 GB) is still correctly right aligned with file No.2 (176 MB) and with the 0s below.
If you have files with a size of "NN GB" (or even NNN GB) their size will be displayed but not aligned anymore.
Desktop