[9.0aRC2] additional types of "size" field look th

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Denis268
Junior Member
Junior Member
Posts: 12
Joined: 2009-06-14, 10:57 UTC
Location: Ukraine, Poltava

[9.0aRC2] additional types of "size" field look th

Post by *Denis268 »

I create custom columns:

Code: Select all

Contents37=[=tc.size]\n
[=tc.size.bkM2	 (x.x)]\n
[=tc.size.bkMG2	 (x.x)]\n
[=tc.size.bkMGT2	 (x.x)]\n
[=tc.size.bkMG3	 (x.xx)]\n
[=tc.size.bkMGT3	 (x.xx)]\n
[=tc.size.bkMGT]
For example, windows folder with a size of about 27 GB
  • [=tc.size] displayed as "29 298 735 281" (as expected defaults)
    [=tc.size.bkM2 (x.x)] displayed as "29 298 735 281"
    [=tc.size.bkMG2 (x.x)] displayed as "29 298 735 281"
    [=tc.size.bkMGT2 (x.x)] displayed as "29 298 735 281"
    [=tc.size.bkMG3 (x.xx)] displayed as "29 298 735 281"
    [=tc.size.bkMGT3 (x.xx)] displayed as "29 298 735 281"
    [=tc.size.bkMGT] displayed as "27 Гб" (as expected)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Why did you include the text after the tab? When you use the plugin field picker, the text is removed. It creates the correct fields like this, which work as intended:
Contents37=[=tc.size]\n
[=tc.size.bkM2]\n
[=tc.size.bkMG2]\n
[=tc.size.bkMGT2]\n
[=tc.size.bkMG3]\n
[=tc.size.bkMGT3]\n
[=tc.size.bkMGT]

Edit: Thanks for catching this, it's actually a bug in the 64-bit version. The 32-bit version does it correctly. Please test with 32-bit too!
Author of Total Commander
https://www.ghisler.com
Denis268
Junior Member
Junior Member
Posts: 12
Joined: 2009-06-14, 10:57 UTC
Location: Ukraine, Poltava

Post by *Denis268 »

I am use combined version and use plugin field picker.
If edit in 64-bit version text remains. The 32-bit version does it correctly.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for testing with the 32-bit version. I will port the missing code part to 64-bit too.
Author of Total Commander
https://www.ghisler.com
Denis268
Junior Member
Junior Member
Posts: 12
Joined: 2009-06-14, 10:57 UTC
Location: Ukraine, Poltava

Post by *Denis268 »

Fixed in TC 9.0a RC3
Post Reply