[solved] TC 9.5b4 - Internal accociations and right-click menu broken

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: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

[solved] TC 9.5b4 - Internal accociations and right-click menu broken

Post by *petermad »

Applies to TC 9.5b4 with the "Load extra command from all matching types" enabled (AssociationMultiVerbs=1)

if I have any internal association where the FilterX_open parameter is not * or **, then right-click on a file that matches the association makes TC hang.

Step to reproduce:
Open TC with a clean ini file.
Open the internal association dialog
Click Add
Enter *.txt and press OK
In the Open: field write: "%SYSTEMROOT%\notepad.exe" "%1" and press OK
Click the box: "Load extra command from all matching types" and press OK

Right-click on a .txt file - TC hangs

--------------------

Also try with this setting:

Code: Select all

[Associations]
Filter1=*.htm
Filter1_open=*open
Filter1_Metapad=""%COMMANDER_PATH%\TOOLS\metapad.exe" "%1""
Filter1_PlainEdit=""%PROGRAMFILES(x86)%\PlainEdit\PlainEdit.exe" "%1""
Filter1_Notepad=""%SYSTEMROOT%\notepad.exe" "%1""
Filter1_Lister (Auto)=""%COMMANDER_EXE%" /S=L "%1""
Filter1_Lister (HTMLView)=""%COMMANDER_EXE%" /S=L:PHTMLView "%1""
Filter1_Lister (cudalister)=""%COMMANDER_EXE%" /S=L:Pcudalister "%1""
Then right click on a .htm file - notice the very long repeated list of associations. see: https://madsenworld.dk/tcmd/assocerror.png
Now disable "Load extra command from all matching types" and right click a .htm file again - now the association list is correct with only 6 items. see: https://madsenworld.dk/tcmd/assocnoerror.png
Now change

Code: Select all

Filter1_open=*open
to

Code: Select all

Filter1_open=*
and reenable "Load extra command from all matching types" - the association list in the right click menu is OK.

If

Code: Select all

Filter1_open=**
is used, the association list also works - this should be equal to *open
Last edited by petermad on 2019-11-13, 23:07 UTC, edited 1 time in total.
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: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.5b4 - Internal accociations and right-click menu broken

Post by *ghisler(Author) »

if I have any internal association where the FilterX_open parameter is not * or **, then right-click on a file that matches the association makes TC hang.
Confirmed, thanks!
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC 9.5b4 - Internal accociations and right-click menu broken

Post by *petermad »

Confirmed fixed in TC 9.5b5 :-)
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