[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: sheep, Hacker, Stefan2, white

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

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

Post by *petermad » 2019-11-06, 23:06 UTC

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 9.5b8 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38395
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) » 2019-11-07, 09:08 UTC

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
http://www.ghisler.com

User avatar
petermad
Power Member
Power Member
Posts: 8971
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

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

Post by *petermad » 2019-11-13, 22:38 UTC

Confirmed fixed in TC 9.5b5 :-)
License #524 (1994)
Danish Total Commander Translator
TC 9.5b8 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

Post Reply