Missing file icons

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
MESSIAH
Junior Member
Junior Member
Posts: 11
Joined: 2016-05-27, 22:23 UTC

Missing file icons

Post by *MESSIAH »

Some files have missing icons in TC 9.51
Windows 10 (2004)
Some files like *.php *.css *.js are missing. Files are associated to PHPSTORM
Image: https://i.ibb.co/LzHCH47/image-2020-11-03-002147.png
Last edited by MESSIAH on 2020-11-03, 13:26 UTC, edited 1 time in total.
LIFE'S A BITCH AND I'M CUSTOMER WITHOUT WALLET.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6981
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Missing file icons

Post by *Horst.Epp »

You should first update TC to the actual version.
Your version is from August 2018
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
User avatar
MESSIAH
Junior Member
Junior Member
Posts: 11
Joined: 2016-05-27, 22:23 UTC

Re: Missing file icons

Post by *MESSIAH »

Horst.Epp wrote: 2020-11-03, 09:30 UTC You should first update TC to the actual version.
Your version is from August 2018
Sorry I write wrong version. Post updated.
LIFE'S A BITCH AND I'M CUSTOMER WITHOUT WALLET.
User avatar
petermad
Power Member
Power Member
Posts: 16034
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Missing file icons

Post by *petermad »

2MESSIAH
Maybe you perhaps have made internal associations ("Files" - > "Internal Associations (Total Commander Only)") for those files types, and not set the icon.
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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50561
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Missing file icons

Post by *ghisler(Author) »

It's also possible that the registry contains confusing entries for this file association. Could you please check this with my tool registryinfo and post the results for one extension here, e.g. for php?

Here is the download link:
https://www.totalcommander.ch/win/tools/registryinfo.zip
Author of Total Commander
https://www.ghisler.com
User avatar
MESSIAH
Junior Member
Junior Member
Posts: 11
Joined: 2016-05-27, 22:23 UTC

Re: Missing file icons

Post by *MESSIAH »

ghisler(Author) wrote: 2020-11-03, 17:14 UTC It's also possible that the registry contains confusing entries for this file association. Could you please check this with my tool registryinfo and post the results for one extension here, e.g. for php?

Here is the download link:
https://www.totalcommander.ch/win/tools/registryinfo.zip

Code: Select all

[HKEY_CLASSES_ROOT\.php]
@="PhpStorm2020.2"
=============================
[HKEY_CLASSES_ROOT\PhpStorm2020.2]
@="JetBrains PhpStorm"
[HKEY_CLASSES_ROOT\PhpStorm2020.2\DefaultIcon]
@=" C:\Program Files\JetBrains\PhpStorm 2020.2.1\bin\phpstorm64.exe,0"
[HKEY_CLASSES_ROOT\PhpStorm2020.2\shell]
@="open"
[HKEY_CLASSES_ROOT\PhpStorm2020.2\shell\open]
[HKEY_CLASSES_ROOT\PhpStorm2020.2\shell\open\command]
@=""C:\Program Files\JetBrains\PhpStorm 2020.2.1\bin\phpstorm64.exe" "%1""
=============================
[Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.php]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.php\OpenWithList]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.php\OpenWithProgids]
"PhpStorm2020.2"=hex(0):
I have this problem about 5 years. Every time is same. Last Windows install - 1 month ago. This happening all the time even If I install fresh Windows and next PHPSTORM. I don't remember but once icons has been working in TC - I'm bot sure how I fixed it. Maybe I used CClener or similar program.
So why TC is not showing icon when Explorer is showing it at all?
LIFE'S A BITCH AND I'M CUSTOMER WITHOUT WALLET.
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

Re: Missing file icons

Post by *gdpr deleted 6 »

The path to your icon file (the phpstorm64.exe) is rather unusual. Notice the erroneous space character in front of the drive letter:

Code: Select all

[HKEY_CLASSES_ROOT\PhpStorm2020.2\DefaultIcon]
@=" C:\Program Files\JetBrains\PhpStorm 2020.2.1\bin\phpstorm64.exe,0"
Use the registry editor and remove this superfluous space character. This should fix the issue.

Not sure how this space character got there, but (from the little i know from your explanations) i would suspect a bug in the PhpStorm installer.
Why Explorer works with this space character present i don't know for sure either. But i suspect unlike TC, Explorer trims (removes leading and trailing spaces) those parameter values before evaluating them. But again, there should not really be a space character in front of the drive letter in any case, so whoever put it there is to blame...
User avatar
MESSIAH
Junior Member
Junior Member
Posts: 11
Joined: 2016-05-27, 22:23 UTC

Re: Missing file icons

Post by *MESSIAH »

elgonzo wrote: 2020-11-04, 19:39 UTC Use the registry editor and remove this superfluous space character. Perhaps this will fix the issue...
Yes it's work very good. Thank you for help. Maybe good idea will be implement some system checking into TC? It's good idea?
Bug reported: https://youtrack.jetbrains.com/issue/WI-56822
LIFE'S A BITCH AND I'M CUSTOMER WITHOUT WALLET.
Post Reply