[9.0-9.0aRC1 x32] Internal Associations behavior changed?

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
artt
Junior Member
Junior Member
Posts: 50
Joined: 2009-05-03, 07:03 UTC

[9.0-9.0aRC1 x32] Internal Associations behavior changed?

Post by *artt »

In v9.0 x32 and 9.0aRC1 x32 Internal Associations are NOT working as in previous versions (8.52a):

Code: Select all

Filter1=*.pdf;*.mobi
Filter1_open=""%COMMANDER_PATH%\UTILS\PDF-XChange Viewer\PDFXCview.exe" "%1""
Filter1.icon="%COMMANDER_PATH%\UTILS\PDF-XChange Viewer\PDFXCview.exe"
Filter2=*.url
Filter2_open=""%COMMANDER_PATH%\UTILS\AHK_Scripts\UrlExtended.exe" "%1""
Filter2.icon="%COMMANDER_PATH%\UTILS\AHK_Scripts\UrlExt.ico"
If i select a .pdf file and press "ENTER", or i Left Mouse Double-click on it, or i select "Open internal" in context menu,
then PDFXCview.exe run and load the .pdf file. (this is what i expected)

But if i select a .url file and press "ENTER", or i Left Mouse Double-click on it,
then default browser run and open the .url's link (as in windows explored or if there is NO internal Association for .url files)

Only if i select "Open internal" in context menu,
then UrlExtended.exe run and get the .url file in it's command line.

It seems that if a system Association exists for a file type (.url), then Internal Associations are ignored for "ENTER" and Left Mouse Double-click actions.
Is this a bug or a by-desine behavior?



EDIT:
OK I found it in History:
29.04.16 Added: wincmd.ini [Configuration] OpenUrls=0 turns off new feature to follow .url files to folders with TC (32/64)
29.04.16 Added: Follow .url files pointing to directories within Total Commander. Format: [InternetShortcut]<newline>URL=file://c:/path or URL=c:\path (32/64)

if i set [Configuration] OpenUrls=0 in wincmd.ini, the internal association for .url files is used as in previous versions (8.52a) :D
of course the new feature "Follow .url files pointing to directories within Total Commander" is not working any more :(
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for your report. Indeed this change of handling urls internally broke internal associations for url files. I will fix it.
Author of Total Commander
https://www.ghisler.com
User avatar
artt
Junior Member
Junior Member
Posts: 50
Joined: 2009-05-03, 07:03 UTC

Post by *artt »

Using [TC 9.0aRC2 x32] Internal Associations are NOT ignored any more for .url files if [Configuration] OpenUrls=1 (or not exist) in wincmd.ini.
  • - For "ENTER", Left Mouse Double-click, and "Open internal" in context menu, the .url file is openning with app configured in Internal Associations.
  • - If i select the 2nd item (FileName.url) in context menu, then the [InternetShortcut]<newline>URL= target is opened to the browser or using the new feature if it is a FilePath.
Thanks ghisler
Best Regards
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Great, thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply