kB in KDiskFreeSpace and others
Jeff Mitchell
kde-dev at emailgoeshere.com
Fri Mar 28 15:18:26 GMT 2008
David Jarvie wrote:
> On Friday 28 March 2008 13:35, Peter Penz wrote:
>
>> [...]
>>
>>>> OK for me to change the documentation text, then?
>>>>
>>> Am I right in concluding from what you say that Dolphin reports sizes in
>>> kB (1000B), not kiB?
>>>
>> No, Dolphin reports the size in kiB and also the output shows "kiB". But
>> Jeff thought that Dolphin shows "kiB" as unit and that the numbers are
>> shown in "kB"... This was because the documentation for KDiskFreeSpace
>> said in the docu that i returns kB although it returns kiB ;-)
>>
>> -> Jeff just wants to update the documentation so that it's 100 % clear
>> what KDiskFreeSpace returns
>>
>
> Sorry - I don't have access to my system just now, so I couldn't check
> what it actually displays. :)
>
No problem. Peter got it in a nutshell. I saw that Dolphin was taking
the "kB" value and passing it to KIO::convertSizeFromKiB and alarm bells
went off in my mind, followed by a patch or two, then retracted when I
realized it was just some vagueness in the documentation. So I'm going
to fix that... :-)
Remember: kibibyte, mibibyte, gibibyte, tibibyte, pibibyte,
ribiculouslynamedbyte, bazibibyte, etc. :-)
More information about the kde-core-devel
mailing list