Refreshing filetype icons

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Perplexer
Junior Member
Junior Member
Posts: 55
Joined: 2007-09-22, 10:55 UTC

Refreshing filetype icons

Post by *Perplexer »

I changed the icon of one filetype on my system and Total Commander did not automatically update (refresh) the icon. I opened a new instance of TC and that one showed the new icon fine. I didn't want to close the current instance of TC because I was working in it and had 10 tabs open.

I did finally find a "workaround" by going to "Options -> Icons" and then then changed Icon size to 32x32 and then back to 16x16. That apparently forced TC to refresh the icons so I got it done without having to completely restart TC.

So basically I'm just wondering why TC doesn't refresh icons automatically. I guess it doesn't know when I change the icon and it would have to randomly refresh it itself, but that would potentially cause lags. Right? Just wondering. :-)
Last edited by Perplexer on 2016-06-19, 21:48 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

TC caches icons by extension, this is by design.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16138
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2ghisler(Author)
How about flushing that cache when the user press Ctrl+R - then restarting TC wouldn't be necessary.

I use Ctrl+R when I expect to see a change in something (file name, file size, file date, file attrib, file icon etc.), but that change doesn't show up automatically.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

petermad,
For now, Alt-F, A, Enter works.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
petermad
Power Member
Power Member
Posts: 16138
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Hacker

I have set Alt+Letter for Quick Search, but assuming I hadn't done that - do you refer to "Files" -> "Associate With" (English Menu) of as by me "Fil" -> "Associer internt (kun Total Commander)" (Danish Menu) ?

Or to say it another way - is it cm_Associate or cm_InternalAssociate that does the trick ?
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

petermad,
Try it with a fresh ini. ;)
Files - Associate With... - OK.

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply