Different Icons in Drive Buttons and Drive Combobox

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

Moderators: white, Hacker, petermad, Stefan2

p.eter
Junior Member
Junior Member
Posts: 35
Joined: 2013-04-18, 08:43 UTC

Different Icons in Drive Buttons and Drive Combobox

Post by *p.eter »

Hi,
I use my own Drive-Icons with the Entry "DriveLib=%COMMANDER_PATH%\DRIVES.dll" in Wincmd.ini and never used the Drive Combobox until today. Now the Problem is that the Icon for removable Drives in the Drive Buttonsbar is different from the Icon in the Combobox.
In the Drive Buttonsbar the Icon is the correct "DISKREMOVE" from DRIVES.dll, the Icon in the Combobox is taken from "DISKHDD" in DRIVES.dll which is wrong for removable Drives.
This happens with my 2,5' TOSHIBA External 2TB USB-Disk, but this do not happen with my USB-Sticks.
Could someone else reproduce this behavior?

TC9b5 32&64bit, WIN7x64

Screenshot:

Code: Select all

MIME-Version: 1.0
Content-Type: application/octet-stream; name="Screenshot.png"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Screenshot.png"

iVBORw0KGgoAAAANSUhEUgAAAQwAAABNCAIAAADcnc25AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAc
fUlEQVR4Ae1dCXxU1bk/sySTPZOVrCSTTAIJuyzSEIIGMYSComVRE/dqKFZtsfG95+O1sWhrpdpW
/GGx9bUo+APcsChBkCAIQSCABZJA9oQsZk8mM8ns875z97l3ZpIJA+SRe34wc+453/n+3/mf853l
3jsnkotV3UgMIgMiA84ZkDrPEnNEBkQGMAOik4j9QGRgGAbkZH7x5+93d/1gMBiGEXc/W6FQhIVH
5d77CK+oiMgjxK3LMcJqbfXl373/sd43wir1csv+kQhLrSafoc6XHlmVnDKZK3/je44E9iR7P/pb
UIDv2rVrw8PDudZ4JN7V1bV7926Ndmjl6qcYhSIiQ8XoImOE1Uf/+xWfsOjlc1Uhgb7eXl4SiWR0
1eGVstlsRpPJKpHvPHxB3922/dWNjMBN6Tl4JtH0dRc8VahUKgcHBxlrPBUJDQ198MEH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Ae07CnjDkT50w1A0nDFUhP92Sm3PC
0C3VFmJlxigDbjgJnDAkgxOGpr6K5BbU9hU+YQile/n1pQQ2rgy/eScMjVFiRbNuHQbc2JO4d8IQ
TdH/p3OGaJvFb5EBLgNuOIl7JwzRIDf2nCEaVfwWGfAcAyN1EvdPGKJsZE/jYs4ZgpPrJOw5dp6r
i6hJZOC6MDCiPQn8noQ6YShZemgQ1XYQJwxZ+pGuG04Y0k0LbW7onRTjr3B0fjY+Z2gv/HpYjc8Z
WrntulRCVCoycD0ZGMZJ4IQhq9Uos1jjlL5wwhAKCkBDQ9oQf/RVp6H5gqUXmfSo8+H1wV74hKGs
rCwHvzyBE1SW7S3eloLPGSJ9RP38Cdvz17NSom6RAU8yMIyTwAlDcokCwaLMotebBpRBoX7hMUhm
qFAfHoq3JMaHqiK9qs+c7mioGBzUZmRkCM9PQQi85BXynKETnrRc1CUycIMYGMZJrvGEIbIS/HOG
YE+SsmdN9Ynn1TeokiKMyMC1MDCMk1RXXwkK7oQThgL80KAURUTE+siC8QlDZSM8YYiwDeYShNw+
r+5aqiWWFRnwHAPDOMk1nzBEWmp/zpC4J/Fc+4mabgADwziJVCqNjIy8//7777vvPuaEoSmW1aaY
m3bC0A0gRYQQGeAyMIyTMKLiCUMMFWJkvDEwUifh8uLgPi83W4yLDNxaDIz0ifutVWuxNiIDbjAg
OokbZImi45OB0Sy3bgBTY+1gihtQZRFizDLAOolEsn3MWOk/ZiwRDREZwC+ciEFkQGTAFQP/B1Yk
+jyaL6RAAAAAAElFTkSuQmCC
P.S.
I investigated a little further and found out the problem already existed in version TC 8.52a :shock:
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 this for my exteral USB harddisk, but not for my SD card reader or for USB sticks.

I happens both when I use: drivelib=%COMMANDER_PATH%\DRIVE850.DLL
http://madsenworld.dk/tcmd/driveicons.png
or if I use:
OldDriveIcons=2
http://madsenworld.dk/tcmd/driveicons2.png

Notice drive H: in both cases.

DRIVE850.DLL is from: http://ghisler.ch/board/viewtopic.php?p=308721#308721
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) »

Sorry, I could not reproduce this problem. Here the icons are the same for my USB harddisk too, when using OldDriveIcons=2.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I guess it must depend on the type of USB harddisk.

With the new system drive icons my drive H: is depicted as a local harddisk in BOTH drive button bar and in the combo box: http://madsenworld.dk/tcmd/driveicons3.png

My USB harddisk is a WD Elements 2 TB USB2 Hard drive from Westen Digital.

It is just peculiar that TC shows it differently in button bar and combo box - I can understand trhat it might not see it as a removable drive at all, but why the difference in those two places? - apparantly the function used in the button bar shows a more correct icon in most cases, than the one used in the combo box
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
milo1012
Power Member
Power Member
Posts: 1158
Joined: 2012-02-02, 19:23 UTC

Post by *milo1012 »

petermad wrote:or if I use:
OldDriveIcons=2
That way I can confirm it for an external USB 3.0 Toshiba 2TB HDD (probably the same model as p.eter used).

https://abload.de/img/tc_olddriveicons2_bugdeka4.png
(drive J:, left is OldDriveIcons=2, right is OldDriveIcons=0)
TC plugins: PCREsearch and RegXtract
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It could be that your USB harddisk is too slow, or sleeping - TC only waits 0.5 seconds for the disk to reply, otherwise it assumes that it's a normal harddisk.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

It could be that your USB harddisk is too slow, or sleeping - TC only waits 0.5 seconds for the disk to reply, otherwise it assumes that it's a normal harddisk.
No, I make sure that the drive is awake, turn TC off and then on again.

And that wouldn't explain why the correct icon is shown in the button bar but not in the combo box (when using OldDriveIcons=1/2)
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
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

No change in TC9b7

With OldDriveIcons=0 my external USB drive is shown as a stationary drive in both drive button bar and combobox

With OldDriveIcons=1 my external USB drive is show as removable in the drive button bar but as a stationary drive in the combobox

With OldDriveIcons=2 my external USB drive is show as removable in both drive button bar and in combobox.

My USB-sticks and SD cards are shown as removable in al of the above combinations.
Last edited by petermad on 2016-07-29, 17:11 UTC, edited 1 time in total.
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
p.eter
Junior Member
Junior Member
Posts: 35
Joined: 2013-04-18, 08:43 UTC

Post by *p.eter »

Code: Select all

22.07.16 Fixed: Different Icons in Drive Buttons and Drive Combobox for USB harddisks
Sorry, but it's not fixed here in TC9 b7, even if there is no entry "OldDriveIcons" in wincmd.ini
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I still can't reproduce the problem, so I really don't know what I need to change. Maybe you can give me step by step instructions to reproduce it? Here it happened only once when I plugged in my USB HDD while TC was already running.
Author of Total Commander
https://www.ghisler.com
p.eter
Junior Member
Junior Member
Posts: 35
Joined: 2013-04-18, 08:43 UTC

Post by *p.eter »

Okay i wil try to explain how to do it.
I use a laptop with SSD Systemdrive -> C:\ (Win7 x64)
1 USB-Stick USB 2.0 2GB, Type removable -> Y:\
1 external USB-Disk 2,5' 2TB, Type Fixed ->V:\

Start TC9 with fresh wincmd.ini. Only the Drive-Combox is visible.
The Icons for C,V,Y are all different like in Explorer. Now activate "Show Drive Buttons" in "Cofiguration" -> "Layout" Start TC new
Drive Buttons and Drive Combobox shows the same -> C,V,Y have different Icons.
Now insert in "wincmd.ini" under [Configuration] "OldDriveIcons=1"
Start TC, now in my case the Icons in the Drive Buttonsbar show me for V: and Y: the same Icon, for C: it's different.
Open the Drive Combobox, the Icons for C: and V: are the same and for Y: it's different, while in the Drive Buttonbar at the same time it's vice versa
:?
It's the same result with "OldDriveIcons=2" or if you use your own Drivelib.
At the same time there are two different displays for the Driveicons. That's it what the Screenshots in previous Posts above should show.
I hope now it is a little bit clearer
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Maybe you can give me step by step instructions to reproduce it?
There isn't so much to describe. I plug in my External 2TB USB harddisk to an USB socket on the side of the cabinet of the computer and compare the drive icon in buttonbar and combobox with different settings for Oldriveicons:

In the following images drive A is my USB SD-card reader and drive H is my 2TB external Western Digital harddisk - I expect these two to be shown with the same icon since they are both removable, or at least I expect drive H to have an icon that is different from the internal fixed harddisk partitions C, D, E, F and G. So watch drive H in these screenshots:

OldDriveIcons=0 see http://madsenworld.dk/tcmd/driveicons3.png - drive A and drive H have different icons in both drive bar and combobox (drive bar and combobox are not identical).

OldDriveIcons=1 see http://madsenworld.dk/tcmd/driveicons4.png - drive A and drive H have the same icons in the drive bar but not in the combobox (drive bar and combobox are not identical).

OldDriveIcons=2 see http://madsenworld.dk/tcmd/driveicons2.png -
drive A and drive H have the same icons in the drive bar but not in the combobox (drive bar and combobox are identical).

This is how Windows Explorer shows the drive icons on my system: http://madsenworld.dk/tcmd/driveicons5.png which is identical to TC with the OldDriveIcons=0 setting.

So there are two questions from my side:
1. Is an external removable USB harddisk to be considered a fixed drive - as Windows apparantly does.
2. Why does my external USB harddisk H have a different icon in the drive bar and the combobox when OldDriveIcons>0 - why are drive bar and combobox NOT identical?
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
Dalai
Power Member
Power Member
Posts: 9389
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

petermad wrote:So there are two questions from my side:
1. Is an external removable USB harddisk to be considered a fixed drive - as Windows apparantly does.
Yes. Hard disk drives are always fixed drives, unless the used driver says otherwise*. You can check that in Disk Management, it will say "Basic disk" for hard drives (internal & external) but "Removable disk" for USB flash drives, floppy drives, card readers and so on.

*) It's some effort to do such a thing by using a different USB driver ...
2. Why does my external USB harddisk H have a different icon in the drive bar and the combobox when OldDriveIcons>0 - why are drive bar and combobox NOT identical?
Yep, good question. One that Ghisler needs to answer. I already wondered why the bug with the CD-ROM stuff only applied to the drive bar, but not the drive list.

BTW: I can confirm the bug on WinXP with my external HDD connected via FireWire. My USB flash drive shows as removable in drive bar and drive list, but the external HDD shows as removable in drive bar and as fixed in drive list. TC 8.52a doesn't have this inconsistency/bug; the external HDD shows as fixed both in drive bar and drive list.

[ADD]
Scratch the last sentence regarding the bug not being present in TC 8.52a, it's there, I just don't know why I can see it only in my portable TC, but not my regular one...
[/ADD]

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
User avatar
Dalai
Power Member
Power Member
Posts: 9389
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

I found the reason why my portable TC shows the external drive as removable but my installed TC does not: CheckUsbHdd. If CheckUsbHdd=0, TC will show the drive icons consistently, but if it's set to 1, the drive bar will show them as removable while the drive list does not. So, it seems the bug is in this setting because it's only applied to the drive bar but not the drive list.

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
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

CheckUsbHdd=0, TC will show the drive icons consistently, but if it's set to 1, the drive bar will show them as removable while the drive list does not.
Confirmed.

Help:
CheckUsbHdd=1 Check whether a harddisk is connected via USB (uses removable disk icon)

So, now we now why it is shown as removable in the buttonbar. But we still don't know why it is not shown as removable in the combobox when CheckUsbHdd=1 (I think it should be), and we also dont know why CheckUsbHdd=1 has no effect when OldDriveIcons=0 (I think it should have).
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
Post Reply