Sorting plugins in the "Plugins" menu in the lister

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
monarch-lfv
Junior Member
Junior Member
Posts: 73
Joined: 2022-06-16, 23:37 UTC

Sorting plugins in the "Plugins" menu in the lister

Post by *monarch-lfv »

Practice shows that plugins at the bottom of the list are often even more suitable than those at the top.
I do not often use this menu, but when I have to, I constantly look for what I need visually - this is inconvenient. I think it would be better to have some kind of sorting logic:
1. Current sorting logic
2. Alphabetical
3. According to sorting in INI
For myself, I would choose the second or third, but not the first (as it is now).
User avatar
funkymonk
Senior Member
Senior Member
Posts: 416
Joined: 2013-12-04, 09:56 UTC

Re: Sorting plugins in the "Plugins" menu in the lister

Post by *funkymonk »

support++

... not only for lister's plugins menu but also for the dialogs to compress files or define custom columns (and probably other places) ...

Maybe an ini switch can be added to select the sorting method?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Sorting plugins in the "Plugins" menu in the lister

Post by *ghisler(Author) »

Lister shows plugins with the following logic:
1. At the top, it shows "internal"
2. Below that, it shows plugins configured via Options->Configure->Multimedia tab->Define view method by file type
3. Below that (after a first separator), it lists plugins for which the detect string matches the currently viewed file
4. Below that (after a second separator),it lists all the remaining plugins

So one way to pin plugins to the top would be to define a view method. For example, I have the following defined for
*.mp3 *.mp2
files:
4i,8,mmedia.wlx
This means to cycle through internal viewer, Explorer view method, and mmedia plugin when I press '4' while viewing an mp3 file. Therefore "mmedia" is pinned to the top here.
Author of Total Commander
https://www.ghisler.com
User avatar
funkymonk
Senior Member
Senior Member
Posts: 416
Joined: 2013-12-04, 09:56 UTC

Re: Sorting plugins in the "Plugins" menu in the lister

Post by *funkymonk »

ghisler(Author) wrote: 2022-09-29, 07:56 UTC Lister shows plugins with the following logic:
1. At the top, it shows "internal"
2. Below that, it shows plugins configured via Options->Configure->Multimedia tab->Define view method by file type
3. Below that (after a first separator), it lists plugins for which the detect string matches the currently viewed file
4. Below that (after a second separator),it lists all the remaining plugins
Sure, that's obvious, documented, and a very useful novelty.
"Sorting" in this thread refers to the plugins within each of the groups...
User avatar
petermad
Power Member
Power Member
Posts: 14793
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Sorting plugins in the "Plugins" menu in the lister

Post by *petermad »

"Sorting" in this thread refers to the plugins within each of the groups...
There the sorting is done like in the list in Confoguration -> Options -> Plugins -> Lifter plugins (WLX) -> Configure
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
Horst.Epp
Power Member
Power Member
Posts: 6480
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Sorting plugins in the "Plugins" menu in the lister

Post by *Horst.Epp »

petermad wrote: 2022-09-30, 09:38 UTC
"Sorting" in this thread refers to the plugins within each of the groups...
There the sorting is done like in the list in Confoguration -> Options -> Plugins -> Lifter plugins (WLX) -> Configure
Thats sorting isn't helpful for this purpose.
If you change it you lost the priority of plugins to handle extensions.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
petermad
Power Member
Power Member
Posts: 14793
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Sorting plugins in the "Plugins" menu in the lister

Post by *petermad »

If you change it you lost the priority of plugins to handle extensions.
Yes, but the question is what is better for the Plugins menu items - Alphabetical, or in the prioritized order - maybe an option to put in wincmd.ini would be the best.
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
funkymonk
Senior Member
Senior Member
Posts: 416
Joined: 2013-12-04, 09:56 UTC

Re: Sorting plugins in the "Plugins" menu in the lister

Post by *funkymonk »

petermad wrote: 2022-09-30, 12:58 UTC
If you change it you lost the priority of plugins to handle extensions.
Yes, but the question is what is better for the Plugins menu items - Alphabetical, or in the prioritized order - maybe an option to put in wincmd.ini would be the best.
Bump for TC 11.00.

I would really appreciate an option to switch between "alphabetical" and "as in ini"/"priority" (for lister/packer/content plugins).
For the lister, the groups in the plugins menu can/should of course stay as they are.

With many plugins installed it's always annoying to go through the entire list just to find the one you need.
Post Reply