TC7: URL icon in panel is not that of the default browser
Moderators: Hacker, petermad, Stefan2, white
TC7: URL icon in panel is not that of the default browser
A minor bug in TC7 final.
Default browser: Firefox.
When dropping a URL inside TC's panel, the icon of the created .URL file is IE's not Firefox's. If .URL is copied on desktop, Firefox's icon is shown as it should.
EDIT: Tested on Win2KSP4.
Default browser: Firefox.
When dropping a URL inside TC's panel, the icon of the created .URL file is IE's not Firefox's. If .URL is copied on desktop, Firefox's icon is shown as it should.
EDIT: Tested on Win2KSP4.
Last edited by wanderer on 2007-06-07, 18:58 UTC, edited 1 time in total.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
- StickyNomad
- Power Member
- Posts: 1933
- Joined: 2004-01-10, 00:15 UTC
- Location: Germany
Just checked it. It's like that in v6.56 too and in TC7pb1.StickyNomad wrote:Confirmed.
I'm not sure if that's because I recently updated to IE 7...
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Confirmed (that TC displays a different Icon than Explorer and Desktop).
In Explorer and on the Desktop the Firefox-Icon is displayed, in TC the IE-Icon is displayed.
I wonder how Explorer does this, though, because in TC with "Files / Associate With..." (on my system) you can see, that the IE-Icon is set to be used.
So Explorer seems to ignore this and does something else, while TC does not.
In Explorer and on the Desktop the Firefox-Icon is displayed, in TC the IE-Icon is displayed.
I wonder how Explorer does this, though, because in TC with "Files / Associate With..." (on my system) you can see, that the IE-Icon is set to be used.
So Explorer seems to ignore this and does something else, while TC does not.

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!
URL is by default associated to Internet Shorcut (rundll32.exe shdocvw.dll,OpenURL %l), which again by default uses icon 0 in C:\WINDOWS\system32\url.dll.
So how Explorer and Desktop figures out to use the firefox icon beats me - maybe another undocumented Microsoft "feature ?"
So how Explorer and Desktop figures out to use the firefox icon beats me - maybe another undocumented Microsoft "feature ?"
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Hmmm, indeed. Copying the URL to the desktop, it gets icon 1 from firefox.exe though. How about that, another MS "feature". It seems you're right petermad.petermad wrote:URL is by default associated to Internet Shorcut (rundll32.exe shdocvw.dll,OpenURL %l), which again by default uses icon 0 in C:\WINDOWS\system32\url.dll.
So how Explorer and Desktop figures out to use the firefox icon beats me - maybe another undocumented Microsoft "feature ?"
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Really strange indeed. I'm using the DefaultIcon entry here. Any ideas?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2ghisler(Author)
Take a look into these two registry entries:
Explorer seems to ignore the DefaultIcon key in case of an existing IconHandler key:
1. Rename IconHandler into NOIconHandler
2. Use TweakUi-Repair-RebuildIcons
-> Explorer shows the DefaultIcon
On the other side, if DefaultIcon is renamed to NODefaultIcon, TC shows the correct icon.
HTH,
Holger
Take a look into these two registry entries:
Code: Select all
[HKEY_CLASSES_ROOT\InternetShortcut\DefaultIcon]
@="%SystemRoot%\system32\url.dll,0"
[HKEY_CLASSES_ROOT\InternetShortcut\shellex\IconHandler]
@="{FBF23B40-E3F0-101B-8488-00AA003E56F8}"
1. Rename IconHandler into NOIconHandler
2. Use TweakUi-Repair-RebuildIcons
-> Explorer shows the DefaultIcon
On the other side, if DefaultIcon is renamed to NODefaultIcon, TC shows the correct icon.
HTH,
Holger
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Indeed TC uses DefaultIcon before the IconHandler. This is by design, so the user can override the (normally quite slow) icon handlers.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Maybe it's by design, but in this case it leads to a wrong icon display.
The IExplorer icon indicates, that the url will be loaded with IE, also if FireFox is set as default browser.
Suggestion:
Is it possible to add a value to:
ShowEXEandLNKicons |= 32
to prefer icon extraction via IconHandlers before using DefaultIcon?
So the user will be able to adjust this behavior to his needs?
Kind regards,
Holger
The IExplorer icon indicates, that the url will be loaded with IE, also if FireFox is set as default browser.
Suggestion:
Is it possible to add a value to:
ShowEXEandLNKicons |= 32
to prefer icon extraction via IconHandlers before using DefaultIcon?
So the user will be able to adjust this behavior to his needs?
Kind regards,
Holger
A not-so-technical user would expect TC to somehow figure this out and show the correct icon, not go to TC.ini and change stuff so i don't think this idea is "politically correct", even though it may solve the problem. What if tomorrow Microsoft figures another 3 ways of getting the icons? Will all TC users have to go to TC.ini and change more parameters?HolgerK wrote:Is it possible to add a value to:
ShowEXEandLNKicons |= 32
to prefer icon extraction via IconHandlers before using DefaultIcon?
So the user will be able to adjust this behavior to his needs?
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Ok, that seems betterHolgerK wrote:2wanderer
Ok, convinced.![]()
Modified suggestion:
Is it possible to change the default behavior, to extract icons like explorer does?
For compatibly reasons add the possibility to switch to the old behavior by adding a value to "ShowEXEandLNKicons"?
Kind regards,
Holger

Anyway...
...if such a thing makes TC slower, it might be better if it's turned off by default.ghisler(Author) wrote:Indeed TC uses DefaultIcon before the IconHandler. This is by design, so the user can override the (normally quite slow) icon handlers.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.