Changing system colors removes icons

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Changing system colors removes icons

Post by *Lefteous »

1. Open TC
2. Make sure some internal associations are defined and the current view displays some files which have icons defined by internal associations.
3. Open control panel
4. Change title bar colors
5. Back in TC all icons defined by internal associations are removed.


Tested on Windows 7, TC 7.50a.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48096
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The icons are always cleared when you change system colors - they need to be reloaded because they are stored internally as a bitmap with the icon drawn on the current background color. Therefore TC clears the icon cache when it gets a WM_WININICHANGE message. However, it seems that TC only loads the new icons when you change to a different directory. Can you confirm that too?
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

Yes after a directory change the icons are correct. Sorry I forgot to mention that.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48096
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks, I have already found a solution now.
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

Fixed in 7.55 Public Beta 1.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48096
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply