TC9 Beta 2 Drive Icon not refreshed

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
DarkRuleR
Member
Member
Posts: 190
Joined: 2003-02-20, 22:23 UTC
Location: Netherlands

TC9 Beta 2 Drive Icon not refreshed

Post by *DarkRuleR »

When I use a custom Drive Icon on my USB drive, and I insert it in my computer I have to restart TC for the custom Drive Icon to show.
In Windows Explorer the Icon is shown immediately.
One time, without a TC restart, the new icon was shown in the drive pull down menu, but not in drive bar.

(Btw. Thank you for adding this feature. I have requested it a few years back, but it was technically not possible then)
#106383 Windows 10 Pro 64-bit
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Where? Here it shows in the drive button bar and drive panel.
Author of Total Commander
https://www.ghisler.com
User avatar
DarkRuleR
Member
Member
Posts: 190
Joined: 2003-02-20, 22:23 UTC
Location: Netherlands

Post by *DarkRuleR »

ghisler(Author) wrote:Where? Here it shows in the drive button bar and drive panel.
The icon does not refresh for the drive buttons and in the drive combobox here.
1 time I noticed that the icon in the drive combobox did refresh after inserting the usb stick but the icon in the drive buttons not.
The drive letter is always shown after connecting, just the custom icon not.

After restarting TC9PB2 it always works.

I also tested it with a clean configuration.
Same issue.
#106383 Windows 10 Pro 64-bit
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, cannot reproduce. What icon is shown instead? Standard icon, or old icon, or anything else?
Author of Total Commander
https://www.ghisler.com
User avatar
DarkRuleR
Member
Member
Posts: 190
Joined: 2003-02-20, 22:23 UTC
Location: Netherlands

Post by *DarkRuleR »

ghisler(Author) wrote:Sorry, cannot reproduce. What icon is shown instead? Standard icon, or old icon, or anything else?
The standard icon is shown.
I can (most of the time) reproduce this on my corporate owned / domain joined PC.
On my laptop (not domain joined) the custom drive Icon is always shown.

Maybe there is some group policy issue???
Any tips how I can troubleshoot this???
#106383 Windows 10 Pro 64-bit
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Are you using OldDriveIcons=1 or 2 in wincmd.ini, or have set a different drive library with drivelib= option? Then TC will not load icons from devices, but show the standard icons only.
Author of Total Commander
https://www.ghisler.com
User avatar
TieFighter
Member
Member
Posts: 190
Joined: 2007-12-03, 12:58 UTC
Location: France

Post by *TieFighter »

Hello,

I have same problem in TC 09.00B3 but only on x86.

You can see some example :
[img]http://zupimages.net/up/16/26/lbgb.png[/img]

I don't use OldDriveIcons=1 or 2 in wincmd.ini and my drivelib is :

Code: Select all

Drivelib=%commander_path%\wcmicons.dll
_________________
regards,
TieFighter
Last edited by TieFighter on 2016-06-29, 20:35 UTC, edited 1 time 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) »

Does it work without the drivelib line? As I wrote, per drive icons are disabled when using drivelib. I guess that the wcmicons.dll is only present in the directory of the 32-bit version?
Author of Total Commander
https://www.ghisler.com
User avatar
TieFighter
Member
Member
Posts: 190
Joined: 2007-12-03, 12:58 UTC
Location: France

Post by *TieFighter »

I remove the Drivelib in the wincmd.ini, no change
I try à fresh install, I have the same problem

And each time with the 32bits version.

I test it on version Windows 7 x64 Pro
Cordialement,
TieFighter
User avatar
DarkRuleR
Member
Member
Posts: 190
Joined: 2003-02-20, 22:23 UTC
Location: Netherlands

Post by *DarkRuleR »

Sorry for the confusion.
I use a autorun.inf file to change the drive icon.

The content of the autorun.inf file:

Code: Select all

[autorun]
icon=\wd.ico
And I do not use a custom icon library.

The custom Drive Icon is set via a autorun.inf on my USB drive (stick), and when I insert it in my computer I have to restart TC for the custom Drive Icon to show.
#106383 Windows 10 Pro 64-bit
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Apparently TC does not receive device change notifications from your system. This can have several reasons:
- they could have been disabled system-wide
- you could have DeviceChange=0 in your wincmd.ini
Author of Total Commander
https://www.ghisler.com
Post Reply