Problem displaying sizes with "bkM2" mode

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
MerleOne
Junior Member
Junior Member
Posts: 19
Joined: 2005-07-22, 09:31 UTC

Problem displaying sizes with "bkM2" mode

Post by *MerleOne »

Hi,

I used to rely, with 6.5x version, on DirSizeCalc plugin, with the bkM2 option to display sizes in b, k, MB with one digit after the decimal separator. Since I use TC2 beta 2, "2 355 MB" is displayed "2,3 G" (well not exactly 2,3 but doesn't matter). I had to modify AllDims setting manually in the DirSizeCalc.ini file and use this option in the size calc. to get more or less the same result.

Has something happened to "bkM2" profile setting in TC7 ?

Thanks,
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will check that, thanks. From the name, only Bytes, kBytes and MBytes should be used. Perhaps I will add bkMG2.
Author of Total Commander
https://www.ghisler.com
User avatar
MerleOne
Junior Member
Junior Member
Posts: 19
Joined: 2005-07-22, 09:31 UTC

Post by *MerleOne »

Thanks. I also have a related problem, but it might be due to the DirSizeCalc plugin.

Actually, it concerns the "thousands separator" in the DirSizeCalc.ini config file : I would like to have a space as separator. The syntax is :

; The thousand separator (1 character).
ThousandSeparator=.

If I replace the '.' with a single space, it is ignored. :-(

Is there a way to have a space ?

.merle1.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2MerleOne
Hi,
DirSizeCalc documentation wrote:The character "S" can be used to display a space character as thousand separator.
User avatar
MerleOne
Junior Member
Junior Member
Posts: 19
Joined: 2005-07-22, 09:31 UTC

Post by *MerleOne »

Thanks for the answer :D

It finally worked, took me some time to find the right combo. Here it is :

[CustomUnitConfig_All_Dims]
AllowedUnits=7
NumberOfDigits=1
WantByteDigits=0
WantThousandSeparator=1
ThousandSeparator=S

(in the DirSizeCalc.ini file).

.merle1.
Lefteous wrote:2MerleOne
Hi,
DirSizeCalc documentation wrote:The character "S" can be used to display a space character as thousand separator.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This should be fixed now, please test! There is now a bkM2 and bkMG2.
Author of Total Commander
https://www.ghisler.com
User avatar
MerleOne
Junior Member
Junior Member
Posts: 19
Joined: 2005-07-22, 09:31 UTC

Post by *MerleOne »

ghisler(Author) wrote:This should be fixed now, please test! There is now a bkM2 and bkMG2.
Thanks.

Both seem to work fine on my system with tc7b3. I still prefer bkM2 over bkMG2, because I really need more detailed info when reaching these sizes.

.merle1.
Post Reply