! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Long paths are not displayed nicely
Status:
RESOLVED: WONTFIX
Product:
Xfce4-mount-plugin
Component:
General

Comments

Description Florian Rivoal editbugs 2010-10-10 06:57:22 CEST
Created attachment 3137 
screenshot of the problem

xfce4-mount-plugin shows mount points this way:

  /path/to/device -> /path/to/mount/point

When this string is short, everything is fine, but on my system, I tend to have pretty long paths to the device, because I use lvm, which typically gives device names like this:
/dev/mapper/name_of_the_volume_group-name_of_the_volume

When stuff like this happens, the X -> Y string is just truncated.

It would be better if the window was enlarged to show the entire string, or maybe if the line was wrapped around, or some other way of seeing the whole path.

In the attached screenshot for example, the first line should say:

  /dev/mapper/vg0-home_lv -> /home/florian

But you can only see:

  /dev/mapper/vg0-home_lv -> /hom
Comment 1 Fabian Nowak editbugs 2010-10-10 14:00:19 CEST
The rationale for cutting was that device/mount paths grew too wide and the dialog was no longer usable.

The currently used solution by most users is to "show the mountpoints only" because nowadays most users don't care about the device path any longer. A user once requesting wider labels was satisfied with that approach

It might though be possible to ellipsize, but this wouldn't help for very long device names either. Hence, I prefer keeping the dialog small without adding another option to allow widening the dialog because this option wouldn't be orthogonal to the "mount-point only" option and hence isn't justified.
Comment 2 Florian Rivoal editbugs 2010-10-10 17:06:37 CEST
I agree that just growing the screen without limit is probably a bad idea too.

But on another of my computers, the device name is so long that it no only the mount path is cut, but also the name of the device itself. The part that allows me to tell the difference between my various device starts at the 42nd character, but the string is cut around the 31st.

Would it be possible to add an setting for the maximum size of the window? The default should be the current maximum, as that is a pretty reasonable value in most cases, but having the possibility to tweak that would be convenient for people in my situation.

Bug #6729

Reported by:
Florian Rivoal
Reported on: 2010-10-10
Last modified on: 2010-10-10

People

Assignee:
Fabian Nowak
CC List:
0 users

Version

Version:
unspecified

Attachments

screenshot of the problem (34.34 KB, image/png)
2010-10-10 06:57 CEST , Florian Rivoal
no flags

Additional information