[fixed]Disk toolbar flickering when using non-Explorer icons

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
redfox
Member
Member
Posts: 101
Joined: 2015-02-09, 11:36 UTC
Location: Czech Republic

[fixed]Disk toolbar flickering when using non-Explorer icons

Post by *redfox »

If you set focus to a Total Commander window (switch from another application, restore from system tray etc.), the disk toolbar of TC always reloads itself. Only with an another icon set than the default (Explorer) one.

TC 9.0b12, OS Win7 32bit.
Last edited by redfox on 2016-09-08, 09:35 UTC, edited 6 times in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, this is intentional because the disk icons can change.
Author of Total Commander
https://www.ghisler.com
redfox
Member
Member
Posts: 101
Joined: 2015-02-09, 11:36 UTC
Location: Czech Republic

Post by *redfox »

If they change, then reload them. But please, do not reload them everytime when TC is focused. The disk icons should be updated only after a new wm_devicechange message.

The blinking of disk icons is very disturbing.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I just tried to reproduce it, and I don't get any flickering. Are you using classic theme?

Anyway, there are cases where icons change when there is no WM_DEVICECHANGE, e.g. a network drive becomming accessible/inaccessible. TC has to remove/add the 'x' from/to the icon then.
redfox
Member
Member
Posts: 101
Joined: 2015-02-09, 11:36 UTC
Location: Czech Republic

Post by *redfox »

I just found the culprit:

If I set the OldDriveIcons=2 entry in wincmd.ini, or uncheck the "Show drive icons from Explorer" in the GUI Settings (does the same), the flickering occurs. If I remove the OldDriveIcons entry or set it to 0, everything is OK again.

Tested on Win7 and WinXP, both 32bit.

Is there a possibility to use the TC 8.52 drive icons in v9 without the flickering? I tried to download another custom drive icon set (from v7) too, but it does the same flickering when installed throught the DriveLib entry.

EDIT: Topic subject updated.
redfox
Member
Member
Posts: 101
Joined: 2015-02-09, 11:36 UTC
Location: Czech Republic

Post by *redfox »

Fixed in v9.0b13, thank you!
Post Reply