Manually select lister plugin proposal

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

User avatar
dindog
Senior Member
Senior Member
Posts: 315
Joined: 2010-10-18, 07:41 UTC

Manually select lister plugin proposal

Post by *dindog »

Show sub menu in lister 4 Image/Multimedia (4) like the new define lister plugin by file type selecting menu:
https://i.postimg.cc/FK5C545R/2019-12-02-005619.jpg

Instead of the current cycle through the list of plugins, let user choose a specific plugin to reload the the current file. Cycling has some unexpected outcome like hang, or even crash for some plugin handling some file type... and it's not smart if user know what plugin they need.

Perhaps the current routine is open file in defaut plugin, when Key4 is pressed, ask plugins on the lister plugins list one by one, "Can you handle this file?", if the answer is "Yes", then load the file with this plugin, in other words, TC maybe not have a "list" of which plugins can handle current file, in this case, I suggest the sub menu can be made as click-expanded, so TC won't need to ask all plugins whether they can handle the current file everytime lister open a file.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Manually select lister plugin proposal

Post by *Horst.Epp »

Support++
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Manually select lister plugin proposal

Post by *Dalai »

That sounds like a very useful feature! It would be even better if the submenu (list of Lister plugins) could be opened via some keyboard shortcut (perhaps Alt+4?).

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Manually select lister plugin proposal

Post by *petermad »

Support++ preferably accompagnied by a cm_command (then you can assign your own shortcut)
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Manually select lister plugin proposal

Post by *ghisler(Author) »

You cannot have a menu item on which you can click AND open a submenu at the same time.
Author of Total Commander
https://www.ghisler.com
User avatar
dindog
Senior Member
Senior Member
Posts: 315
Joined: 2010-10-18, 07:41 UTC

Re: Manually select lister plugin proposal

Post by *dindog »

ghisler(Author) wrote: 2019-12-02, 09:47 UTC You cannot have a menu item on which you can click AND open a submenu at the same time.
ui implement can be changed. how about a sub menu with all plugin, then disabled the non-activable plugin, or vice versa, disable all then enable those supported current file plugin
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Manually select lister plugin proposal

Post by *Dalai »

2ghisler(Author)
Well, that should be solveable, don't you think? Either add a new item in Lister's main menu, or add a submenu in Lister's Options menu directly below or above the "4 Image/Multimedia" item.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
nsp
Power Member
Power Member
Posts: 1803
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Manually select lister plugin proposal

Post by *nsp »

2ghisler(Author)
Jumping easily in 2 clicks from default viewer to any dedicated lister plugin is the feature we miss. Implementation details is your part !

In old TCUP Ultimate viewer you have a dedicated menu for all the registered wlx plugins, plus an entry "other plugins..." . This open a new dialog box with all the available lister. you choose what you want you get what you want and if it fails to load, you get empty view !

In another alternate Lister (from a TC clone) we had at menu bar level a drop-down list with all the wlx without any fancy file format detection !
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Manually select lister plugin proposal

Post by *DrShark »

Support++
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
jinsight
Senior Member
Senior Member
Posts: 299
Joined: 2003-02-25, 19:47 UTC
Location: Wooster, Ohio, USA

Re: Manually select lister plugin proposal

Post by *jinsight »

Support++
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: Manually select lister plugin proposal

Post by *funkymonk »

Support++
User avatar
dindog
Senior Member
Senior Member
Posts: 315
Joined: 2010-10-18, 07:41 UTC

Re: Manually select lister plugin proposal

Post by *dindog »

viewtopic.php?t=75302&start=150
This thread remind me this suggestion, and I still think it's very useful, we have quite some different plugin to deal with image file, because there is so many formats out there and no single image lister plugin can do all the job, and shift from one to another lister should have a more precise way instead of dumb cycling
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Manually select lister plugin proposal

Post by *ghisler(Author) »

I have already added it internally, and there are far too many plugins which the user can choose which cannot actually load the file.

The problem is that the detect string of most plugins is too broad, most plugins only decide when you actually try to display the file with it.
Author of Total Commander
https://www.ghisler.com
User avatar
dindog
Senior Member
Senior Member
Posts: 315
Joined: 2010-10-18, 07:41 UTC

Re: Manually select lister plugin proposal

Post by *dindog »

ghisler(Author) wrote: 2021-11-05, 08:57 UTC I have already added it internally, and there are far too many plugins which the user can choose which cannot actually load the file.

The problem is that the detect string of most plugins is too broad, most plugins only decide when you actually try to display the file with it.
OK,i am not fimiliar with the actual communication between plugin to TC.
Do you mean, most of the time, when we press "4" key to change plugin from A to B, it in fact goes through some other plugin X Y Z in the background, because they detect string match the file, which turn out can't handle the file?

So if TC decide to show a menu display all the candicates, it will probably show quite some no-sense plugins, and that is not quite the result you want, right?

Personaly, I still want it. It's the only way to avoid some error without changing the lister plugin order. Maybe as an advanced option user can turn it on/off
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Manually select lister plugin proposal

Post by *ghisler(Author) »

So if TC decide to show a menu display all the candicates, it will probably show quite some no-sense plugins, and that is not quite the result you want, right?
Correct. I will keep it in for now.
Author of Total Commander
https://www.ghisler.com
Post Reply