I have recently installed v12.30 and I am just now getting around to setting it up to my liking.
Upon customizing my file display views to have two toolbars via the CLI (Drives and the standard one) I noticed that DOpus doesn't display the volume names for network drives that I assigned in Explorer.
Instead it displays the drive name, followed by the network path, e.g. "M: (\192.xxx.xxx.xxx\somepath".
This makes the drives bar unnecessarily long when all I want to display are my short volume names.
It also applies to the folder tree and probably all other views that would make use of those names.
The drives are connected so this shouldn't be the problem.
I have stumbled upon this entry in the changelog for v12.4 that may be related:
Some improvements relating to disconnected network drives:
Drive buttons no longer read the volume name for network drives when
displaying a tooltip, which could cause a lock up if the network drive was
offline (the tooltip will show the UNC path instead of the volume name).
Is there any way to make it show the names or is this behaviour intentional?
The command was:
Set FDBTOOLBAR "Drives,File Display"
The toolbar itself consists of two buttons, namely:
Go DRIVEBUTTONS=labels,lettersbeforelabels,nofocus,hideempty,fixed,removable,cdrom
Go DRIVEBUTTONS=nofocus,hideempty,network
I had to split it up into two buttons, so I can hide the long labels for just the network drives.
...but this isn't really related to the problem at hand since this also applies to the folder tree view and I think it was this way, even before I added the toolbar.
One noticable side effect: The Drives toolbar is now greyed out in the "Customize Toolbars"-window for some reason.
That only displays the drive letter by itself for me, without the server and share names added.
There are settings under Preferences / Folder Tree / Appearance to change what's displayed for drives in the Folder Tree, but those shouldn't affect the buttons that command adds to toolbars.
With your example of "M: (\\192.xxx.xxx.xxx\somepath", is the closing bracket missing or was that just a typo? If it's missing, it might indicate the OS is returning the drive label in an unexpected format which we aren't parsing properly.
As I said: I have only now hidden the labels for the network drives because they are so long.
If I include "labels" and in my case "lettersbeforelabels" it is as described.
Also as I said: Forget about the drives toolbar please. It is happening in the tree view as well.
And yes, I know of the Appearance settings. I have used them to show the letters before the labels in tree view.
But you have brought me onto something here:
When I choose different options in the Appearance settings, under "Show drive labels as" the following is displayed:
Setting: "Local Disk (C:)" → "MyDriveLabel (192.xxx.xxx.xxx\somepath) (M:)"
Setting: "(C:) Local Disk" → "M: (192.xxx.xxx.xxx)"
This means the label is only missing when choosing to display drive letters before labels. It also applies to the toolbar parameter "lettersbeforelabels". It works for local drives but not for network drives. This I would consider a bug that has to be fixed
Also, is there no option to hide the network path?
All I want to achieve is to display my network drives like: "M: (MyDriveLabel)"
Since it's this way for local drives why not make it at least optional for network drives?
Which word do you mean is missing? I see the same three components in the first and last examples, with nothing missing or added, just in a different order.
Ah I see now. It seems I hadn't renamed the network drives in Windows properly since I last mapped them. When I rename them manually it works. Sorry for the hassle.
The long IP designation came from the automatically assigned Label of Windows itself.