TC 9.50beta (and 9.22a) TC shows wrong icons for files

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: sheep, Hacker, Stefan2, white

Post Reply
User avatar
LonerD
Senior Member
Senior Member
Posts: 303
Joined: 2010-06-19, 20:18 UTC
Location: Donetsk

TC 9.50beta (and 9.22a) TC shows wrong icons for files

Post by *LonerD »

Windows 10 x64 v1903 (Home SL and Enterprise).
TC 9.50b1 (and 9.22a) x32 and x64
It's old known problem. Earlier TC on earlier Win versions (at least Win 7) have the same behavior.
Copy ico or exe file from one panel to another or just rename with another file name.
And new file still have old icon. :?
Image: https://funkyimg.com/i/2XEHQ.gif

Clean Windows and clean TC with default settings:
Image: https://i.imgur.com/GgqvfZz.gif

cm_RereadSource - nothing.
cm_ReloadBarIcons or cm_ReloadSelThumbs (I know it's another function, but tried) - nothing.
Reload explorer.exe and refresh icon cache in explorer - nothing.
Different view mode (full, brief, thumbs) or icons size in panels - nothing.

Explorer shows correct icon for file.
In TC panel correct icon appears only after TC restart
Last edited by LonerD on 2019-10-25, 12:00 UTC, edited 3 times in total.
Total Commander DreamLair - dream always, think totally, be the commander of you own life.

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

Re: TC 9.50b1 (and 9.22a) TC shows wrong icons for files

Post by *petermad »

Hmm - I cannot reproduce this.

Can you reproduce it with a fresh ini-file?
License #524
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.965 (x64)
TC 3.0 on Android 6.0
Get:
Extended Total Commander Menus | TC Languagebar | TC Dark Help | PHSM-Calendar

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 39728
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.50b1 (and 9.22a) TC shows wrong icons for files

Post by *ghisler(Author) »

Can you give me more details, please?
1. Which method is used when you view the file with F3?
2. Does it use a plugin (should be shown in the lister title)
3. Does it happen when you give the two icons different names?
Author of Total Commander
http://www.ghisler.com

User avatar
LonerD
Senior Member
Senior Member
Posts: 303
Joined: 2010-06-19, 20:18 UTC
Location: Donetsk

Re: TC 9.50b1 (and 9.22a) TC shows wrong icons for files

Post by *LonerD »

OK. Another video demonstration.

Image: https://i.imgur.com/GgqvfZz.gif

Clean Windows 10 x64 v1809 virtual machine from MS site in VMware Workstation Player.
Clean TC 9.50ß1 x32 or x64 (default settings and no plugins).
Everyone can try and reproduce.

The same situation happens even after file deletion - new file has phantom icon from deleted old file:
Image: https://i.imgur.com/WDOZrHR.gif

The same situation on previous TC versions on old Windows versions. On Windows 7 you can copy/rename file one or two times with correct icon, and then icon "stuck" as on video above.
Total Commander DreamLair - dream always, think totally, be the commander of you own life.

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

Re: TC 9.50b1 (and 9.22a) TC shows wrong icons for files

Post by *petermad »

2LonerD
I still cannot reproduce it - what is your settings in "Configuration" -> "Options..." -> "Refresh" ?
License #524
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.965 (x64)
TC 3.0 on Android 6.0
Get:
Extended Total Commander Menus | TC Languagebar | TC Dark Help | PHSM-Calendar

User avatar
LonerD
Senior Member
Senior Member
Posts: 303
Joined: 2010-06-19, 20:18 UTC
Location: Donetsk

Re: TC 9.50b1 (and 9.22a) TC shows wrong icons for files

Post by *LonerD »

petermad wrote:
2019-10-17, 14:42 UTC
what is your settings in "Configuration" -> "Options..." -> "Refresh" ?
On video in my previous post - all options default (clean TC installation).
Image: https://i.imgur.com/8oscncb.png

But nothing changes with Autorefresh option enabled.
Total Commander DreamLair - dream always, think totally, be the commander of you own life.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 39728
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.50b1 (and 9.22a) TC shows wrong icons for files

Post by *ghisler(Author) »

Sorry, no idea what could be wrong. :(
Author of Total Commander
http://www.ghisler.com

User avatar
LonerD
Senior Member
Senior Member
Posts: 303
Joined: 2010-06-19, 20:18 UTC
Location: Donetsk

Re: TC 9.50 beta 1-5 (and 9.22a) TC shows wrong icons for files

Post by *LonerD »

ghisler(Author) wrote:
2019-10-18, 15:50 UTC
Sorry, no idea what could be wrong. :(
Every wrong pixel fixed in TC... But now TC works wrong under modern OS, and this behaviour will not be changed? :shock:

It's totally wrong behaviour. After renaming or replacing files they have incorrect icon.
After editing .ICO-file TC shows old state, which already does not exist.

It seems like TC update icons only after user first time opens directory.
Explorer displays correct icons.
Probably, you can update icons state from Explorer/Windows after TC file operations (and/or panels refresh).
Total Commander DreamLair - dream always, think totally, be the commander of you own life.

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3761
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TC 9.50 beta 1-5 (and 9.22a) TC shows wrong icons for files

Post by *Horst.Epp »

LonerD wrote:
2019-11-14, 10:56 UTC
ghisler(Author) wrote:
2019-10-18, 15:50 UTC
Sorry, no idea what could be wrong. :(
Every wrong pixel fixed in TC... But now TC works wrong under modern OS, and this behaviour will not be changed? :shock:

It's totally wrong behaviour. After renaming or replacing files they have incorrect icon.
After editing .ICO-file TC shows old state, which already does not exist.

It seems like TC update icons only after user first time opens directory.
Explorer displays correct icons.
Probably, you can update icons state from Explorer/Windows after TC file operations (and/or panels refresh).
I have a modern OS (Windows 10 1909
and TC updates the icons if the file type is changed without any delay for me.
So its looks like you have some non standard config or something else in you "modern" OS.
Windows 10 Home x64 May 2020 Update, Version 2004 (OS Build 19041.331)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.51 x64 / x86, Everything 1.4.1.984 (x64)

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

Re: TC 9.50beta (and 9.22a) TC shows wrong icons for files

Post by *petermad »

2LonerD
Explorer displays correct icons.
Not really - See: https://madsenworld.dk/tcmd/icocopy.mp4

The Video is from Windows 10 1903.

I find it interesting that in Windows 7 both Explorer and TC updates the icon correctly the first time the icon in dir c:\icotest\2\ is copied to c:\icotest\ , but a following overwriting of the icon in c:\icotest\ with the icon from c:\icotest\1\ does not update the icon. Closing and opening TC wil show the correct icon, but closing and opening Explorer will not. You have to do a taskkill and restart of Explorer before it shows the correct icon again - or you can start or restart TC, that will also make Explorer show the correct icon - believe it or not !
License #524
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.965 (x64)
TC 3.0 on Android 6.0
Get:
Extended Total Commander Menus | TC Languagebar | TC Dark Help | PHSM-Calendar

Post Reply