Incorrect icon for USB HDD

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
umbra
Power Member
Power Member
Posts: 871
Joined: 2012-01-14, 20:41 UTC

Incorrect icon for USB HDD

Post by *umbra »

"CheckUsbHdd" is not working properly with drive combobox.

1. Connect some USB HDD
2. Open TC and configure it to show drive combobox
3. Make sure "CheckUsbHdd" is enabled
4. Open the external drive in one panel
5. Restart TC

The icon of the external drive (which is currently selected) is correct. But if you open the drive combobox, it will revert to standard internal drive icon and stay that way.

Icons in drive button bars are correct and not affected by the above.

Tested in Win8 x64 with TC8.01 x32 and x64.
Windows 7 Pro x64, Windows 10 Pro x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The function will be turned off automatically if it takes too long to check.
Author of Total Commander
https://www.ghisler.com
umbra
Power Member
Power Member
Posts: 871
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

I don't understand. It doesn't take long. TC correctly detects the drive and sets corresponding icon. However after the drive combobox is opened for the first time, the proper icon in the combobox is replaced by icon for a normal drive. And again, if you enable both drive button bar and drive combobox, the icon resets only in the combobox - the external drive keeps the correct icon in the button bar.
Windows 7 Pro x64, Windows 10 Pro x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Try putting
CheckUsbHdd=1
yourself in the wincmd.ini. Otherwise TC will indeed turn off this function if it takes too long to check it. It will be checked in a background thread, so you may not notice that it takes a while.
Author of Total Commander
https://www.ghisler.com
umbra
Power Member
Power Member
Posts: 871
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

Sorry, but I still think there is a some kind of misunderstanding. Try to watch this screen recording.
Note: my external drive is attached as "G:" and I have CheckUsbHdd=1 in my wincmd.ini.
Windows 7 Pro x64, Windows 10 Pro x64
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I can confirm the bug, just as described by umbra - so far I have only tetsted it under Windows XP 32bit with TC 8.01

Note - it has to be a real USB harddisk, not just an USB memory stick.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I'm doing backups to a USB harddisk twice a week, but I have never seen this problem, sorry. I couldn't watch your screencast yet (I'm currently connected via mobile phone because the internet is down), so please keep it online for a few more days.
Author of Total Commander
https://www.ghisler.com
Post Reply