Minor bug in Pack files Dialog

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
zeeko
Junior Member
Junior Member
Posts: 50
Joined: 2009-02-21, 19:57 UTC

Minor bug in Pack files Dialog

Post by *zeeko »

I've found a minor bug in a behaviour of a Pack Files dialog during recent bzip2 plug in testing.

If bz2 was selected as default packer, and more than one file is selected,
Pack Files dialog input line will show correctly:
bz2:path\*.*.bz2.

Now, if packer changes to tar.bz2, input line will change to
tbz2:path\*.*.TAR.BZ2

This is correct too, but I guess that line could change to
tbz2:path\archive.TAR.BZ2

If another packer is selected e.g. 7z, command line will change to
7z:path\archive.7Z

If bz2 is selected again, line will change to
bz2:path\archive.bz2

and pack will fail with "Too many files" error.

Tested on Win7 x64.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks, I will consider to change it.
Author of Total Commander
https://www.ghisler.com
zeeko
Junior Member
Junior Member
Posts: 50
Joined: 2009-02-21, 19:57 UTC

Post by *zeeko »

Thanks.
I also found that on WinXP packer dialog omits file extension when bz2/tar.bz2 packer is selected.
For example, on Win7:
bz2:path\archive.ext.bz2
on WinXP:
bz2:\path\archive.bz2

This can cause problems on extraction, because file extension is lost.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Do you use the same bzip2 plugin and plugin version on both? The behaviour depends on whether a plugin reports that it can pack just one file, or multiple files.
Author of Total Commander
https://www.ghisler.com
Post Reply