Lister: The issue with the Plugins menu missing 64-bit options.

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

Moderators: white, Hacker, petermad, Stefan2

sky66
Member
Member
Posts: 149
Joined: 2014-02-22, 08:44 UTC

Lister: The issue with the Plugins menu missing 64-bit options.

Post by *sky66 »

Due to some issues with installing plugins, I had to repeatedly install several of them.
In the end, I found that if install only 64-bit plugins, for example: wlx64_uLister_4.0.0.zip
The Plugins menu of Lister won't have the option 'uLister' .
However, if install 32-bit wlx_uLister_4.0.0.zip, then the 'uLister' option will appear.

With guidance from Horst.Epp, I checked the [ListerPlugins] section in the Wincmd.ini file.
If install only 64-bit plugin:
[ListerPlugins]
0=%COMMANDER_PATH%\plugins\wlx\ulister\ulister.wlx64

But even without installing the 32-bit uLister plugin, I can simply add the following line manually:
1=%COMMANDER_PATH%\plugins\wlx\ulister\ulister.wlx
After that, the 'uLister' option will appear in Lister.

So, does Lister not recognize wlx64 named plugins? Even if I'm using 64-bit Total Commander with Lister.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Lister: The issue with the Plugins menu missing 64-bit options.

Post by *ghisler(Author) »

Indeed it doesn't. A plugin must either be a combined 32-bit+64-bit plugin in one file, or in two separate files. I wish you had reported this a few weeks earlier, currently the beta test is dragging on and on and on and will never end. :(
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Lister: The issue with the Plugins menu missing 64-bit options.

Post by *petermad »

2ghisler(Author)
Note, that even if the ini-entry is:

Code: Select all

[ListerPlugins]
0=%COMMANDER_PATH%\plugins\wlx\ulister\ulister.wlx64
the menu still works OK if there actually is a ulister.wlx in the plugin directory.

Reminds me of this issue: https://ghisler.ch/board/viewtopic.php?p=238046#p238046
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Lister: The issue with the Plugins menu missing 64-bit options.

Post by *ghisler(Author) »

the menu still works OK if there actually is a ulister.wlx in the plugin directory.
That's because TC looks for both wlx and wlx64 when given either of these (or uwlx). At the moment, a 64-bit only plugin just isn't a thing. I will try to fix it, but it could be difficult.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Lister: The issue with the Plugins menu missing 64-bit options.

Post by *petermad »

2ghisler(Author)
I will try to fix it, but it could be difficult.

Well you managed to fix it for loading the plugin: https://ghisler.ch/board/viewtopic.php?p=238046#p238046 so I am opportunistic.
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
sky66
Member
Member
Posts: 149
Joined: 2014-02-22, 08:44 UTC

Re: Lister: The issue with the Plugins menu missing 64-bit options.

Post by *sky66 »

ghisler(Author) wrote: 2023-07-27, 08:10 UTC A plugin must either be a combined 32-bit+64-bit plugin in one file, or in two separate files.
Indeed, making changes to the program now may potentially cause other issues.
Alternatively, consider treating this problem as a suggestion. Simply add the above text to the Lister page in the 'TOTALCMD.CHM' documentation.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Lister: The issue with the Plugins menu missing 64-bit options.

Post by *ghisler(Author) »

Allowing 64-bit only plugins in the list was surprisingly easy. However, now the plugin may appear TWICE if the user added a second dummy entry for a 32-bit plugin as you did above. Dealing with that would be more complex, so I think it's better to have duplicate menu entries than none.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Lister: The issue with the Plugins menu missing 64-bit options.

Post by *petermad »

However, now the plugin may appear TWICE if the user added a second dummy entry for a 32-bit plugin as you did above.
If the user did that, he/she apparently know what he is doing, and should also be capable of removing the double entry again - so I wouldn't worry about that.
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Lister: The issue with the Plugins menu missing 64-bit options.

Post by *petermad »

history.txt wrote:28.07.23 Fixed: Lister: 64-bit only plugins like ulister did not appear in the "Plugins" dropdown menu (64)
Confirmed fixed in private TC 11.00rc3a :-)
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Lister: The issue with the Plugins menu missing 64-bit options.

Post by *tuska »

HISTORY.TXT wrote:02.08.23 Release Total Commander 11.00 final
28.07.23 Fixed: Lister: 64-bit only plugins like ulister did not appear in the "Plugins" dropdown menu (64)
Only for .msg and .eml files "✓ ulister" is NOT displayed in the dropdown menu for me.
- "Lister (ulister)" is displayed after F3 Lister in the title bar.
- "test.eml - ulister" is displayed in the opposite window though.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6498
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Lister: The issue with the Plugins menu missing 64-bit options.

Post by *Horst.Epp »

2tuska
Some time ago, yourself added a link to wlx_uLister_4.0.0.1.rar as a combined plugin in the forum.
Why don't you use it :wink:
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Lister: The issue with the Plugins menu missing 64-bit options.

Post by *ghisler(Author) »

2tuska
What do you mean with that? I tried with an .eml file, and it is displayed via ulister, and ulister appears and is checked in the Plugins menu.
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Lister: The issue with the Plugins menu missing 64-bit options.

Post by *tuska »

Horst.Epp wrote: 2023-08-02, 15:20 UTC 2tuska
Some time ago, yourself added a link to wlx_uLister_4.0.0.1.rar as a combined plugin in the forum.
Why don't you use it :wink:
What makes you think I'm not using this version?
(I followed my step-by-step instructions (German) at the time)

Would I perhaps have to make a change to my settings?

Code: Select all

Name/Ext	Size	Date			Attr
ulister.ini	    66	19.09.2011 15:48	-a--
ulister.wlx	57 856	01.06.2016 16:11	-a--
ulister.wlx64	58 880	01.06.2016 16:12	-a--

ulister.ini
[ulister]
noloadtypes=1999
nopreviewtypes=1999
keepinmemory=1
ghisler(Author) wrote: 2023-08-02, 16:44 UTC 2tuska
What do you mean with that? I tried with an .eml file, and it is displayed via ulister,
and ulister appears and is checked in the Plugins menu.
As I wrote, ulister is not available in the Plugins menu on my PC --> ONLY FOR .msg and .eml files.
For many other file extensions, ulister is available for selection in the Plugins menu.

I only have 2 test files (.eml) from Horst.Epp and 1 file of my own (.eml).
Outlook .msg files I have plenty as this is my default application.

The files (.msg and .eml) can be displayed with Ctrl+Q and F3 Lister, only ulister is not present in the plugins menu.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6498
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Lister: The issue with the Plugins menu missing 64-bit options.

Post by *Horst.Epp »

2tuska
I have installed the combined plugin 4.0.0.1
For me, ULister is shown in the Plugins menu for any type of file to preview.

Maybe you have set a detection string for ULister ?
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Lister: The issue with the Plugins menu missing 64-bit options.

Post by *tuska »

Horst.Epp wrote: 2023-08-02, 17:51 UTC 2tuska
Maybe you have set a detection string for ULister ?
No.

wincmd.ini

Code: Select all

[ListerPlugins]
0=%COMMANDER_PATH%\Plugins\wlx\ulister\ulister.wlx64
Post Reply