Issue in descript.ion for very long name files

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
jjk
Member
Member
Posts: 181
Joined: 2003-07-03, 10:41 UTC

Issue in descript.ion for very long name files

Post by *jjk »

Sorry to post here, but I don't know where to post the bug reports because only administrators can do it until 8.53 release.

I have a file name with 254 chars. When I descript it with descript.ion, descript.ion file is correctly updated.

Example of name file :

Code: Select all

Very Very Very long file name Very long file name Very long file name Very long file name Very long file name Very long file name Very long file name Very long file name Very long file name Very long file name Very long file name Very long file name .txt
But when I try to edit the desc by menu File>Edit 1 comment (Ctrl-Z), the edit window is empty.

Also when I use menu View>comments, all the comments are visible except the one of the too long name file.

My TC version is 8.50 but I don't know the behaviour with previous releases.
sorcar
Member
Member
Posts: 100
Joined: 2005-04-12, 17:45 UTC
Location: U.S.

Post by *sorcar »

I could not reproduce the problem (using your filename) in 8.01 or 8.51B1 or 8.51B3.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Is there really a space between "name" and ".txt"? This would make the name 255 characters long, and then comments are not supported (254 is still OK).
Author of Total Commander
https://www.ghisler.com
oshizelly
Junior Member
Junior Member
Posts: 60
Joined: 2013-09-07, 13:51 UTC

Post by *oshizelly »

ghisler(Author) wrote:This would make the name 255 characters long, and then comments are not supported (254 is still OK).
Do you mean, that descript.ion comments do not work at all for files with name length over 254 symbols? I did not know about it.
What should happen with a file's existing comment, when I increase the filename from, say, 100 to 255 chars? Will the comment be disconnected completely? Or it re-appeares again, if I decrease the filename below 255 chars?
I've tried to do some tests, but could not get any clear result.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7025
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

oshizelly wrote:
ghisler(Author) wrote:This would make the name 255 characters long, and then comments are not supported (254 is still OK).
Do you mean, that descript.ion comments do not work at all for files with name length over 254 symbols? I did not know about it.
What should happen with a file's existing comment, when I increase the filename from, say, 100 to 255 chars? Will the comment be disconnected completely? Or it re-appeares again, if I decrease the filename below 255 chars?
I've tried to do some tests, but could not get any clear result.
So your files don't need any content, the names says it all :D
There are many programs which will not handle such long names at all
and I will never understand a real reason for it.
And don't tell me that your web server or messurment application forces such long names.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The problem is that the name becomes longer than 255 characters because of the added double quotes. Currently a maximum of 255 characters including the double quotes are supported. If you had reported that earlier, I would try to fix it in TC 8.51, but now it is too risky (it could break a lot of functions). I will postpone it to a later version.
Author of Total Commander
https://www.ghisler.com
Post Reply