Description.ion: the description is truncated

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Earthrise
Junior Member
Junior Member
Posts: 3
Joined: 2016-02-24, 20:24 UTC

Description.ion: the description is truncated

Post by *Earthrise »

win10x32
TC9b1
comments setting: plain text + utf16

make 4 files with shift F4
named 1,2,3,4
Give 1 a descript.ion of 300 ones
Give 2 a description of "2", 3 of "3", 4 of "4"
now delete the description of file 3
result: the descriptions of 2 and 3 are gone and the description of 1 is truncated to 158 chars
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I cannot reproduce it. Can you give me more details, please?
1. How does your descript.ion file look like after this step: "Give 2 a description of "2", 3 of "3", 4 of "4" "?

2. Is it Unicode or plain text? It should be plain text because you didn't use any characters from other codepages.

3. How do you delete the description? Via Ctrl+Z?
Author of Total Commander
https://www.ghisler.com
Earthrise
Junior Member
Junior Member
Posts: 3
Joined: 2016-02-24, 20:24 UTC

Post by *Earthrise »

Ah trying it again, I could not reproduce it the way I wrote it down, sorry.

I seem to have made the description unicode first by pasting in a text with Japanese characters and then changed it to some bogus test data of all ones

I add and delete the description via ctrl-Z.

so it looks like this in lister (option 6 unicode)
1 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
2 2
3 3
4 4

Edit: add testfile:
http : // dl dot dropbox dot com / u / 19372177 / bdogeam / description-test.zip
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks, reproduced and fixed for beta 2!
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This was fixed in beta 2, can anyone check it please?
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Anyone please?
Author of Total Commander
https://www.ghisler.com
stef75
Junior Member
Junior Member
Posts: 3
Joined: 2016-06-19, 15:50 UTC

Post by *stef75 »

I cannot reproduce it. I think it's fixed.
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

I could reproduce the bug in beta 1 (thanks tio the sample file) and can confirm that there is no data loss any longer in beta 6.
Post Reply