Volume Label tooltip for CD Rom (drive buttons toolbar)

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
pjotrb
Junior Member
Junior Member
Posts: 46
Joined: 2006-11-02, 13:11 UTC
Location: The Netherlands

Volume Label tooltip for CD Rom (drive buttons toolbar)

Post by *pjotrb »

Hi,

The tooltip (Volume Label) for a CD drive button seems to be static, rather than dynamic. It shows the Volume Label for a CD that was in my drive several days ago.

If I view any CD in a file panel, the file panel shows the correct label for the CD. However the drive button still shows the same old tooltip, and it never changes.

If I use Windows Explorer, it shows the same outdated volume label for the CD drive, even with a totally different CD in the drive. Perhaps TotalCmd is using a Windows function for the drive button tooltip, and another method for the file panel volume label?

The consequence of changing this may be that the CD drive is spinning any time the drive button tooltip is needed... or perhaps a "removable drive change notification" can be used to avoid this.

Bye,
Peter

PS using Win XP SP2 & TotalCmd 7.02a
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Did you turn off the drive insert notification for CD-ROM drives? In this case, TC isn't informed when the CD is changed, and cannot refresh the label...
Author of Total Commander
https://www.ghisler.com
pjotrb
Junior Member
Junior Member
Posts: 46
Joined: 2006-11-02, 13:11 UTC
Location: The Netherlands

Post by *pjotrb »

ghisler(Author) wrote:Did you turn off the drive insert notification for CD-ROM drives?
I have no knowledge of this setting, or how & where to set it. Please help!

Thanks,
Peter
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

To activate Drive Insert Notification check/change this setting in your XP registry
(using regedit.exe; the value below is probably 0, but should be 1):

Code: Select all

REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom]
"AutoRun"=dword:00000001
If you don't know how to handle regedit, save the above code to a text file,
name it "notification.reg" and double-click it.

To activate this setting you'll have to restart your PC
(log off/on is not enough according to my test).
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
pjotrb
Junior Member
Junior Member
Posts: 46
Joined: 2006-11-02, 13:11 UTC
Location: The Netherlands

Post by *pjotrb »

Hi,

Thanks for the info. My value is indeed 0 - and I will probably keep it that way.

Chris, how about this:

If this reg value is 0 (TotalCmd can read it of course), the label that is reported by Windows can not be trusted as correct*. So in that case do not show a volume label tooltip for CD/DVD drives; or make it show a generic term like "CD", "DVD" or "removable media".

* = my experience from WinXP SP2; don't know about other Win versions.

Bye,
Peter
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

For now you can turn this off only manually:

wincmd.ini
[Configuration]
CDlabel=0

turns off the display of CD labels (and other removable drives) in Alt+F1/F2 and the drive buttonbar.
Author of Total Commander
https://www.ghisler.com
Post Reply