Different Icons in Drive Buttons and Drive Combobox
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks for the steps. It seems to happen only when you first connect the two drives and THEN start Total Commander. I always tried the opposite, so I never saw the problem. I could reproduce it now with your testing order.
Do you get this problem also when connecting the drives AFTER starting Total Commander?
Do you get this problem also when connecting the drives AFTER starting Total Commander?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
On my systems it doesn't matter whether I start TC before connecting the drive or after doing so. If CheckUsbHdd=1 (default) TC shows the drive as removable in the drive bar but as fixed in the drive list.ghisler(Author) wrote:Do you get this problem also when connecting the drives AFTER starting Total Commander?
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Same here.On my systems it doesn't matter whether I start TC before connecting the drive or after doing so. If CheckUsbHdd=1 (default) TC shows the drive as removable in the drive bar but as fixed in the drive list.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Same for me.Dalai wrote:On my systems it doesn't matter whether I start TC before connecting the drive or after doing so.
TC plugins: PCREsearch and RegXtract
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Strange, I cannot reproduce the problem when connecting them afterwards.
Anyway, please check whether my fix in beta 8 works for you or not.
Anyway, please check whether my fix in beta 8 works for you or not.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
In TC9B8 it now works as expected with CheckUsbHdd=1 and OldDriveIcons>0 - my external USB harddisk is now show as removable in both drive buttonbar and drive combobox.
But with OldDriveIcons=0 the external USB harddisk is always shown as a fixed drive in both places despite the setting of CheckUsbHdd=1.
If it is not possible to make CheckUsbHdd=1 apply to system drive icons (OldDriveIcons=0) I suggest to change the Help from:
But with OldDriveIcons=0 the external USB harddisk is always shown as a fixed drive in both places despite the setting of CheckUsbHdd=1.
If it is not possible to make CheckUsbHdd=1 apply to system drive icons (OldDriveIcons=0) I suggest to change the Help from:
to:CheckUsbHdd=1 Check whether a harddisk is connected via USB (uses removable disk icon)[/b]
CheckUsbHdd=1 Check whether a harddisk is connected via USB (uses removable disk icon) - Works only with OldDriveIcons > 0.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
For TC9 b8, I can confirm the statements of petermad 
If OlddriveIcons=0, CheckUsbHdd has no influence on it, which Icon is displayed.
And furthermore, if you use your own DriveLib with CheckUsbHdd=0, there is no difference between the Icon for Systemdrive and fixed Drives (whether in Buttonbar or Combo-Box), because there's no separate icon provided in the Drives.dll. Is it possible to add a seperate Icon for fixed and Sytem Drives?

If OlddriveIcons=0, CheckUsbHdd has no influence on it, which Icon is displayed.
And furthermore, if you use your own DriveLib with CheckUsbHdd=0, there is no difference between the Icon for Systemdrive and fixed Drives (whether in Buttonbar or Combo-Box), because there's no separate icon provided in the Drives.dll. Is it possible to add a seperate Icon for fixed and Sytem Drives?
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Indeed TC then asks Windows for the icon, and it returns normal harddisk icons for removable harddisks.If OlddriveIcons=0, CheckUsbHdd has no influence on it, which Icon is displayed.

It could be done, but currently it's not planned because I don't have any such icons internally either.And furthermore, if you use your own DriveLib with CheckUsbHdd=0, there is no difference between the Icon for Systemdrive and fixed Drives (whether in Buttonbar or Combo-Box), because there's no separate icon provided in the Drives.dll. Is it possible to add a seperate Icon for fixed and Sytem Drives?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com