Show archive is opened by which plugin somewhere

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Show archive is opened by which plugin somewhere

Post by *petermad »

2browny
and certainly previous versions (or maybe betas) of TC had shown Total7zip.wcx64
TC 11.03 only showed the extension asigned to the Total7zip plugin, not the plugin file total7zip.wcx itself in the properties dialog.

Even in 64bit TC the names of 64bit plugins are always shown without 64 at the end of the extension, and they are by default installed in the [*Plugins] sections without the 64 extension. Only a very few plugins are installed with the 64 extension, and only plugins that don't have a 32bit version - Total7zip is not one of them.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Show archive is opened by which plugin somewhere

Post by *ghisler(Author) »

I find it weird that Alt+Enter on a folder or ".." in an archive, works as Enter
That's because folders are often not stored in the archive, they are just relative paths to files within these folders. In such a case, there would be nothing to show to the user.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5744
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Show archive is opened by which plugin somewhere

Post by *white »

ghisler(Author) wrote: 2024-11-05, 08:07 UTC
I find it weird that Alt+Enter on a folder or ".." in an archive, works as Enter
That's because folders are often not stored in the archive, they are just relative paths to files within these folders. In such a case, there would be nothing to show to the user.
Why is that a reason to let it behave like the user pressed Enter? Why doesn't it do nothing for example? When the user presses Alt+Enter he does most likely not meant to navigate to a folder.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Show archive is opened by which plugin somewhere

Post by *ghisler(Author) »

Why doesn't it do nothing for example?
It would not be more useful one way or the other.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5744
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Show archive is opened by which plugin somewhere

Post by *white »

ghisler(Author) wrote: 2024-11-05, 14:23 UTC
Why doesn't it do nothing for example?
It would not be more useful one way or the other.
That's not true. When a user presses Alt+Enter he does not want to do navigation, so he has to navigate back. If you do nothing or display a message "Not supported", this does not happen.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Show archive is opened by which plugin somewhere

Post by *ghisler(Author) »

OK, I will try to add something.
Author of Total Commander
https://www.ghisler.com
browny
Senior Member
Senior Member
Posts: 359
Joined: 2007-09-10, 13:19 UTC

Re: Show archive is opened by which plugin somewhere

Post by *browny »

petermad wrote: 2024-11-04, 22:58 UTC TC 11.03 only showed the extension asigned to the Total7zip plugin, not the plugin file total7zip.wcx itself in the properties dialog.
The reason for the question was TC showing this: viewtopic.php?p=460457#p460457
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Show archive is opened by which plugin somewhere

Post by *petermad »

2browny
The reason for the question was TC showing this: viewtopic.php?p=460457#p460457
Does that mean that your wincmd.ini [PackerPlugins] section for Total7zip looks like this:

Code: Select all

7z=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx64
and not like this:

Code: Select all

7z=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
:?:
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
white
Power Member
Power Member
Posts: 5744
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Show archive is opened by which plugin somewhere

Post by *white »

ghisler(Author) wrote: 2024-11-05, 18:10 UTC OK, I will try to add something.
HISTORY.TXT wrote: 05.11.24 Added: Alt+Enter on a directory in an archive now shows the directory details, or an error if the directory isn't stored separately (32/64)
Tested OK using TC 11.50b5 32-bit and 64-bit. Nice that you can now always see the used packer when you press Alt+Enter (if case of the error, it is displayed in the title bar).

The Unpack buttons are disabled. Not sure if it is better to make them invisible.
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Show archive is opened by which plugin somewhere

Post by *petermad »

I don't think the error:
Directory %s not found!
I very informative.

Wouldn't something like:
Properties for directory %s can not be shown!
I mean - the user can see the directory - saying that it can not be found is very confusing.

Otherwise tested working with: zip, rar, 7z, tar, uc2, 7z (total7zip.wdx), 7x (7zip.wdx), zpaq (zpac.wcx), lst (diskdir.wcx), lstW (diskdirW.wcx), lstC (CatalogMaker.wcx), xlst (DiskDirExtended.wcx)

arj, lzh, ace, cab and sqx gives the "Directory %s not found!" error.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
white
Power Member
Power Member
Posts: 5744
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Show archive is opened by which plugin somewhere

Post by *white »

petermad wrote: 2024-11-06, 20:46 UTC I don't think the error:
Directory %s not found!
I very informative.
Well, the title bar mentions the packer and the packer cannot find the folder. So there is some logic to it.
petermad wrote: 2024-11-06, 20:46 UTC Wouldn't something like:
Properties for directory %s can not be shown!
I mean - the user can see the directory - saying that it can not be found is very confusing.
How is that not confusing. The user also sees properties, although they are fake.
To be clear it should perhaps be something like: Folder %s not stored separately in the archive.
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Show archive is opened by which plugin somewhere

Post by *petermad »

Folder %s not stored separately in the archive.
That is too technical - then the user has to have read the history.txt:
05.11.24 Added: Alt+Enter on a directory in an archive now shows the directory details, or an error if the directory isn't stored separately (32/64)
But given that the properties are "fake" then maybe use:
Property dialog for %s can not be shown!
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
browny
Senior Member
Senior Member
Posts: 359
Joined: 2007-09-10, 13:19 UTC

Re: Show archive is opened by which plugin somewhere

Post by *browny »

petermad wrote: 2024-11-06, 20:16 UTCDoes that mean that your wincmd.ini [PackerPlugins] section for Total7zip looks like this:
It means, I have seen one text, now it is different - and never cared about contents of this .ini section.
It is .wcx there, by the way.
User avatar
white
Power Member
Power Member
Posts: 5744
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Show archive is opened by which plugin somewhere

Post by *white »

petermad wrote: 2024-11-06, 21:10 UTC
Folder %s not stored separately in the archive.
That is too technical - then the user has to have read the history.txt:
When an error occurs, it's often because of a technical reason and people often need to look it up what it means. Your suggestion: "Property dialog for %s can not be shown!", does not give any information as to why the error occurs.

Perhaps this is clearer:
The folder name %s is not stored separately in the archive.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Show archive is opened by which plugin somewhere

Post by *ghisler(Author) »

Directory %s not found!
I used this as a complement to string
54="File %s not found!"
because I didn't have any equivalent for folders. I want to keep it unspecific so I can use it also in other dialogs.
Author of Total Commander
https://www.ghisler.com
Post Reply