During the testing of this thread about showing a crappy
JPEG file with Lister, I noticed that the presence of a graphic plugin like Imagine, overrules the option :
"Use XnView/IrfanView to load graphics other than BMP" if enabled.
This seems quite logical, but it shows that in fact this "..other than BMP" -option is neutralized.
So why not grey out this option, as soon as there is a graphical plugin present ?
Lister bitmap-viewer config
Moderators: Hacker, petermad, Stefan2, white
Lister bitmap-viewer config
0.618033988
Well, the plugin could support let's say 5 formats. The others are (or should be) still viewed with the viewer entered there.
Maybe it should be extended to "...other than BMP and installed plugins"? The help is talking about "...other than BMP" only, too.
Maybe it should be extended to "...other than BMP and installed plugins"? The help is talking about "...other than BMP" only, too.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
1. How do you think to detect if the plugin is a graphical one?Sam_Zen wrote:So why not grey out this option, as soon as there is a graphical plugin present ?
2. How to ensure that the plugin overrides really all the image types supported by IV/XV?
3. The plugins do not always take precedence over the internal Lister mechanisms (detect-string should contain MULTIMEDIA for that, if I'm not mistaken).
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50406
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Yes, indeed the string MULTIMEDIA gives plugins precedence over Irfanview.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Reverse
2ghisler(Author)
Good evening,
• I have tested the sample too, and indeed got the same issues…
- So, could that precedence be inverted, even optionally later ?
VG
Claude
Clo

• I have tested the sample too, and indeed got the same issues…
• Irfan¦XnView are certainly much more performant¦perfected than the most image-plugins…Yes, indeed the string MULTIMEDIA gives plugins precedence over Irfanview.
- So, could that precedence be inverted, even optionally later ?

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
- ghisler(Author)
- Site Admin
- Posts: 50406
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Yes, you can of course edit the define lines for these plugins in wincmd.ini. Example:
Old:
New:
You can also leave out extensions which you never want to handle with this plugin.
Old:
Code: Select all
27_detect="MULTIMEDIA & (EXT="JPG" | EXT="JPEG" | EXT="JIF" | EXT="JFIF" | EXT="J" | EXT="JPE" | EXT="TGA" | EXT="TARGA" | EXT="PIX" | EXT="BPX" | EXT="IVB" | EXT="TIF" | EXT="TIM" | EXT="TIFF" | EXT="BMP" |EXT="RLE" | EXT="VGA" | EXT="RL4" | EXT="RL8" | EXT="SYS" | EXT="PNG" | EXT="IFF" | EXT="BLK" | EXT="GIF" | EXT="GIFF" | EXT="PCX" | EXT="PCC" | EXT="DCX" | EXT="PIC" | EXT="PICT" | EXT="PICT2" | EXT="PCT" | EXT="PSD" | EXT="PBM" | EXT="RPBM" | EXT="PPMA" | EXT="PGM" | EXT="RPGM" | EXT="PPM" | EXT="RPPM" | EXT="PNM" | EXT="RPNM" | EXT="PBM" | EXT="RPBM" | EXT="PGM" | EXT="RPGM" | EXT="PPM" | EXT="RPPM" | EXT="XBM" | EXT="BM" | EXT="XPM" | EXT="PM" | EXT="EPI")"
Code: Select all
27_detect="EXT="JPG" | EXT="JPEG" | EXT="JIF" | EXT="JFIF" | EXT="J" | EXT="JPE" | EXT="TGA" | EXT="TARGA" | EXT="PIX" | EXT="BPX" | EXT="IVB" | EXT="TIF" | EXT="TIM" | EXT="TIFF" | EXT="BMP" |EXT="RLE" | EXT="VGA" | EXT="RL4" | EXT="RL8" | EXT="SYS" | EXT="PNG" | EXT="IFF" | EXT="BLK" | EXT="GIF" | EXT="GIFF" | EXT="PCX" | EXT="PCC" | EXT="DCX" | EXT="PIC" | EXT="PICT" | EXT="PICT2" | EXT="PCT" | EXT="PSD" | EXT="PBM" | EXT="RPBM" | EXT="PPMA" | EXT="PGM" | EXT="RPGM" | EXT="PPM" | EXT="RPPM" | EXT="PNM" | EXT="RPNM" | EXT="PBM" | EXT="RPBM" | EXT="PGM" | EXT="RPGM" | EXT="PPM" | EXT="RPPM" | EXT="XBM" | EXT="BM" | EXT="XPM" | EXT="PM" | EXT="EPI""
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com