[TC 11.03rc4] Internal association to **path\file.bar blocks packer plugins for the same file type

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

[TC 11.03rc4] Internal association to **path\file.bar blocks packer plugins for the same file type

Post by *petermad »

If I have a button bar internally associated to a file type, then I cannot open that file type as an archive with the assoiated packer plugin with Ctrl+PgDn.

For example I have Imagine and GifWcx configured as packer plugins

Code: Select all

[PackerPlugins]
png=327,%COMMANDER_PATH%\PLUGINS\wlx\Imagine\Imagine.wcx
gif=287,%COMMANDER_PATH%\PLUGINS\wcx\GifWcx\GifWcx.wcx
And I have a viewers.bar internally associated to *.jpg and *.gif files:

Code: Select all

[Associations]
Filter1=*.JPG *.GIF
Filter1_open=**%COMMANDER_PATH%\LANGUAGE\wcmd_pm_dan\viewers.bar
If I press Ctrl+PgDn on a *.jpg or *.gif file I get the error:
---------------------------
Total Commander
---------------------------
Error in packed file drive\path\file.jpg!
---------------------------
OK
---------------------------
When pressing Ctrl+PgDn on other image types, then Imagine's wcx plugin opens the file as an archive as expected.

If I disable the association (Filter1=-.JPG *.GIF) then Ctrl+PgDn works with both file types.


The viewers.bar file:
Spoiler

Code: Select all

[Buttonbar]
Buttoncount=25
button1=wcmicons.dll,15
cmd1=%COMMANDER_PATH%\LANGUAGE\wcmd_pm_dan\pm_dan.bar
iconic1=0
menu1=Tilbage
button2=%COMMANDER_PATH%\PROGRAMS\PSP\PSP.EXE
cmd2=%COMMANDER_PATH%\PROGRAMS\PSP\Psp.exe
param2=%P%N
iconic2=0
menu2=Paint Shop Pro
button3=%COMMANDER_PATH%\PLUGINS\wlx\Imagine\Imagine64.exe
cmd3=%COMMANDER_PATH%\PLUGINS\wlx\Imagine\Imagine64.exe /viewer
param3=%P%N
iconic3=0
menu3=Imagine Viewer
button4=%COMMANDER_PATH%\PROGRAMS\IrfanView\i_view32.exe
cmd4=%COMMANDER_PATH%\PROGRAMS\IrfanView\i_view32.exe
param4=%P%N
iconic4=0
menu4=IrfanView
button5=%ProgramFiles(x86)%\XnView\xnview.exe
cmd5=%ProgramFiles(x86)%\XnView\xnview.exe
param5=%P%N
iconic5=0
menu5=XnView
button6=c:\Program Files (x86)\XnViewMP\xnviewmp.exe
cmd6=c:\Program Files (x86)\XnViewMP\xnviewmp.exe
param6=%P%N
iconic6=0
menu6=XnView MP
button7=%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll
cmd7=rundll32.exe shimgvw.dll,ImageView_Fullscreen
param7=%P%N
iconic7=0
menu7=Windows Fotofremviser
button8=
iconic8=0
button9=wciconex.dll,27
cmd9=cm_List
iconic9=0
menu9=Lister - Auto
button10=wciconex.dll,27
cmd10=cm_List /P
iconic10=0
menu10=Lister - Internal
button11=wciconex.dll,27
cmd11=cm_List /Pimagine
iconic11=0
menu11=Lister - Imagine
button12=wciconex.dll,27
cmd12=cm_List /PphotoViewer
iconic12=0
menu12=Lister - PhotoViewer
button13=wciconex.dll,27
cmd13=cm_List /T8
iconic13=0
menu13=Lister - Explorer View
button14=wciconex.dll,27
cmd14=cm_List /Piclview
iconic14=0
menu14=Lister - ICLView
button15=wciconex.dll,27
cmd15=cm_List /Pmmedia
iconic15=0
menu15=Lister - Mmedia
button16=
iconic16=0
button17=%ProgramFiles%\Windows Media Player\wmplayer.exe
cmd17=%ProgramFiles%\Windows Media Player\wmplayer.exe
param17=%P%N
iconic17=0
menu17=Windows Media Player
button18=%PROGRAMW6432%\MPC-HomeCinema\mpc-hc64.exe
cmd18=%PROGRAMW6432%\MPC-HomeCinema\mpc-hc64.exe
param18=%P%N
iconic18=0
menu18=MPC-HomeCinema
button19=c:\Program Files\MPC-BE-Player\mpc-be64.exe
cmd19=""c:\Program Files\MPC-BE-Player\mpc-be64.exe""
param19=%P%N
iconic19=0
menu19=MPC-BE Player
button20=c:\Program Files\VideoLAN\VLC\vlc.exe
cmd20=""c:\Program Files\VideoLAN\VLC\vlc.exe""
param20=%P%N
iconic20=0
menu20=VLC Player
button21=%ProgramFiles(x86)%\QuickTime\QuickTimePlayer.exe
cmd21=%ProgramFiles(x86)%\QuickTime\QuickTimePlayer.exe
param21=%P%N
iconic21=0
menu21=QuickTime
button22=C:\Program Files (x86)\DivX\DivX Player\DivX Player.exe
cmd22=""C:\Program Files (x86)\DivX\DivX Player\DivX Player.exe""
param22=%P%N
iconic22=0
menu22=DivX Player
button23=c:\Program Files (x86)\Flashplayer\flashplayer_32_sa.exe
cmd23=""c:\Program Files (x86)\Flashplayer\flashplayer_32_sa.exe""
param23=%P%N
iconic23=0
menu23=flashplayer_32_sa
button24=
iconic24=0
button25=shell32.dll
cmd25=explorer.exe
param25=%P%N
iconic25=0
menu25=Standard
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: [TC 11.03rc4] Internal association to **path\file.bar blocks packer plugins for the same file type

Post by *ghisler(Author) »

Confirmed. It happens because **ext can be used to tell TC to open the file with a specific packer. I will fix it.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.03rc4] Internal association to **path\file.bar blocks packer plugins for the same file type

Post by *ghisler(Author) »

This should be fixed in RC5, please test it!
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: [TC 11.03rc4] Internal association to **path\file.bar blocks packer plugins for the same file type

Post by *petermad »

history.txt wrote:05.02.24 Fixed: Internal associations: Setting the command to **c:\path\file.bar blocked opening the file as archive with Ctrl+PageDown (32/64)
Confirmed fixed in TC 11.03rc5 :-)

Moderator message from: petermad » 2024-02-08, 14:51 UTC

Moved to "TC fixed bugs" from "TC11.x bug reports (English)"
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
Post Reply