-[8.5b4] "Target name length" is not correct

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
ferhat
Junior Member
Junior Member
Posts: 54
Joined: 2013-09-03, 06:29 UTC

-[8.5b4] "Target name length" is not correct

Post by *ferhat »

Environment: Win8 64Bit
TC 32/64Bit

Steps:
1) Open Windows Explorer and create a file. Its name must be 255 chars long e.g. 'AAAAA.....'. Create the file without file extension.
2) Use a ZIP tool or TC to create a ZIP archive containing this file
3) Open the ZIP file with TC
4) select the file inside the ZIP archive and press F3 to view its content

observed:
TC shows this warning:
"The target name length (272) is more than 259 characters!"
Our file name length is not 272 it is 255.

desired:
Show the correct length in the warning dialog.
Biozynotiker
Member
Member
Posts: 164
Joined: 2011-03-22, 09:57 UTC
Location: Germany

Post by *Biozynotiker »

If you press F3 to view the file, the path to the %temp% dir counts also.
So this must be more than 255 chars.
#92832
ferhat
Junior Member
Junior Member
Posts: 54
Joined: 2013-09-03, 06:29 UTC

Post by *ferhat »

That seems to be right but in that case the current description is wrong.

"target name length" must be replaced by "target path length"
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think TC shouldn never show such warning when F3 is used in archive.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I think it should, because some Lister plugins cannot handle such long names either.
Author of Total Commander
https://www.ghisler.com
ferhat
Junior Member
Junior Member
Posts: 54
Joined: 2013-09-03, 06:29 UTC

Post by *ferhat »

The only "bug" in this case is a textual thing.
"target name length" is not the correct description for what you mean.
Instead of that "target path length" would be correct
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The target is the temp file, so the text is correct.
Author of Total Commander
https://www.ghisler.com
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

Post by *gdpr deleted 6 »

ghisler(Author) wrote:The target is the temp file, so the text is correct.
[Nitpicking mode on :twisted: ]

Low caffeine error detected.
If the target is the temp file, the text is wrong.

[Nitpicking mode off]

But since the dialog says "target name", you are right 8)
Post Reply