Page 5 of 6
Re: Show archive is opened by which plugin somewhere
Posted: 2024-11-04, 22:58 UTC
by petermad
2
browny
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.
Re: Show archive is opened by which plugin somewhere
Posted: 2024-11-05, 08:07 UTC
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.
Re: Show archive is opened by which plugin somewhere
Posted: 2024-11-05, 10:45 UTC
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.
Re: Show archive is opened by which plugin somewhere
Posted: 2024-11-05, 14:23 UTC
by ghisler(Author)
Why doesn't it do nothing for example?
It would not be more useful one way or the other.
Re: Show archive is opened by which plugin somewhere
Posted: 2024-11-05, 15:09 UTC
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.
Re: Show archive is opened by which plugin somewhere
Posted: 2024-11-05, 18:10 UTC
by ghisler(Author)
OK, I will try to add something.
Re: Show archive is opened by which plugin somewhere
Posted: 2024-11-06, 14:31 UTC
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
Re: Show archive is opened by which plugin somewhere
Posted: 2024-11-06, 20:16 UTC
by petermad
2
browny
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

Re: Show archive is opened by which plugin somewhere
Posted: 2024-11-06, 20:31 UTC
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.
Re: Show archive is opened by which plugin somewhere
Posted: 2024-11-06, 20:46 UTC
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.
Re: Show archive is opened by which plugin somewhere
Posted: 2024-11-06, 21:01 UTC
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.
Re: Show archive is opened by which plugin somewhere
Posted: 2024-11-06, 21:10 UTC
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!
Re: Show archive is opened by which plugin somewhere
Posted: 2024-11-06, 22:14 UTC
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.
Re: Show archive is opened by which plugin somewhere
Posted: 2024-11-07, 09:25 UTC
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.
Re: Show archive is opened by which plugin somewhere
Posted: 2024-11-07, 10:18 UTC
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.