Can't enter to ZIP archive without extension

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
starix
Junior Member
Junior Member
Posts: 3
Joined: 2005-04-18, 15:39 UTC

Can't enter to ZIP archive without extension

Post by *starix »

To reproduce problem:
1) Download TС installation.
2) Remove EXE extension of the file
3) Press Ctrl + PgDown on this file and get error message.

If you use Ctrl + Left(or Right) hotkey TC enter to archive.
Reproduce with ANY zip archive. :evil:
User avatar
silencer
Senior Member
Senior Member
Posts: 208
Joined: 2003-05-13, 13:18 UTC
Location: The Netherlands

Post by *silencer »

This bug is introduced since RC1

Maybe due to:

Code: Select all

07.10.16 Fixed: Allow to view, rename and delete files ending with a dot, e.g. "test.txt .". These names are not allowed in Windows functions, but can still be created on NTFS with \\?\ prefix (32/64)
07.10.16 Fixed: Display trailing dot(s) in file list for file names ending with a dot (which isn't allowed in Windows functions, but can still be created on NTFS with \\?\ prefix) (32/64)
User avatar
karlchen
Power Member
Power Member
Posts: 4601
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Problem reproduced and confirmed.
The error message which will be displayed suggests that Total Commander suffixes a dot character to the filename which actually does not exist (the dot, the file does exist).
Total Commander 9.0rc3
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Confirmed in TC9rc1-3

The same bug also applies to Shift+F4 on a file without extension - in stead of opening the existing file it creates a new zero-byte file
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
MaxX
Power Member
Power Member
Posts: 1024
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

Confirm for RC3.
BTW, 8.52a final works fine.

P.S.
TC installer is sfx-ZIP with no compression and some files inside. Looks like TC does not find "PK" marker.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

The entering of zip archive without extension is fixed in TC9rc4. :-)

But this:
The same bug also applies to Shift+F4 on a file without extension - in stead of opening the existing file it creates a new zero-byte file
still persists, and was introduced with TC9rc1 :-(
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
karlchen
Power Member
Power Member
Posts: 4601
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Confirm both of petermad's statements:

FIXED: Opening a ZIP archive file lacking the ZIP filename extension works. (Ctrl-PgDn, Enter)

NOT FIXED: Editing an existing file lacking a filename extension using Shift-F4 will create a new file. The editor window will be empty not displaying the old file content. The previously existing file will be lost the moment you confirm to edit the file.
(This is particularly nasty, because existing file content is nuked.)

Total Commander 9.0 RC4 32-bit
Last edited by karlchen on 2016-11-02, 22:38 UTC, edited 1 time in total.
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
MaxX
Power Member
Power Member
Posts: 1024
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

1. ZIP - confirm fix for RC4
2. shift+F4 - confirm data loss for RC3 and 4 (didn't test it for older RC and beta). 8.52a does NOT have this bug.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, I didn't notice that report about shift+f4. PLEASE, report such bugs in separate messages!
Author of Total Commander
https://www.ghisler.com
User avatar
karlchen
Power Member
Power Member
Posts: 4601
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

ghisler(Author) wrote:PLEASE, report such bugs in separate messages!
Sorry, you are correct, our mistake of introducing it in the middle of this thread about archive filenames without filename extensions. :oops:

:arrow: Belated Shift-F4 Bug Report
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

OK, I will move this to "fixed bugs" since the original bug has been fixed.
Author of Total Commander
https://www.ghisler.com
Post Reply