Public bug reported:

See screenshots and german rant here:
http://demystifikation.wordpress.com/2013/09/09/dat-dial/

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"

Gedit 3.4.1 Xubuntu 12.04 LTS

When opening a file, the "file open" - Dialog cripples the directory
names, while having plenty of space to show the full names:

scala> val pfad = "/home/stefan/proj/mini/forum"
pfad: String = /home/stefan/proj/mini/forum

scala> val dirsAndFile = pfad.split ("/").tail dirsAndFile:
Array[String] = Array(home, stefan, proj, mini, forum)

scala> println (pfad.length)
28

The size in which the dialog opens is about 1000 pixel. That would allow
30 pixel per character, even if you substract something for button
borders and the initial icons. Another bad idea is, to shorten a 5
character dirname to 4 characters + "...". You could for example shorten
only names longer than 5 to 4 + "..." like this demo code in Scala
shows:

List ("vier", "fuenf", "sechse", "siehben").foreach (x => { if (x.length > 5) 
println (x.take (4) + "...") else println (x)})
vier
fuenf
sech...
sieh...

** Affects: xpdf (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: file open ui ux

** Attachment added: "Screenshot File open dialog (Detail)"
   
https://bugs.launchpad.net/bugs/1223049/+attachment/3811865/+files/datei-oeffnen-gek%C3%BCrzte-Verzeichnisse-Detail.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1223049

Title:
  file save dialog cripples dirnames while having much space

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xpdf/+bug/1223049/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to