GNOME Bugzilla – Bug 313854
Path bar: ellipsize long directory names
Last modified: 2013-12-01 11:05:36 UTC
Easy to reproduce: - Create a folder with a long name, like: "LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONG" - Enter that folder - You will see that the pathbar dissapears out of view (it looks a bit cool though :p) Perhaps some ...'s should be added when a foldername exceeds a numer of chars. If you take a smaller foldername like "LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONG", you will see that at some point (resize the window a bit), the pathbar doubles the size (in height).
Confirmed with Nautilus 2.11.91 on Ubuntu Breezy.
Created attachment 64273 [details] screenshot of the problem
Confirmed with Nautilus 2.14.3 on Ubuntu Dapper
Still occurs with Nautilus 2.17.92 on Ubuntu Feisty.
> Perhaps some ...'s should be added when a foldername exceeds a numer of chars. Nah, it should be added when a folder doesn't fit. :)
This issue is fixed in Nautilus 2.25.1. Should be tagged as 'FIXED'.
(In reply to comment #6) > This issue is fixed in Nautilus 2.25.1. Should be tagged as 'FIXED'. No, it's not fixed, updating fields.
*** Bug 474979 has been marked as a duplicate of this bug. ***
Isn't Bug 550215 a duplicate of this one ?
*** Bug 550215 has been marked as a duplicate of this bug. ***
In Windows 7, they have just solved a similar issue: http://blogs.msdn.com/e7/archive/2009/03/13/a-few-more-changes-from-beta-to-rc.aspx See 7. Going up?: "(...) the parent folder’s button will appear in the address bar at all times and therefore going ‘up’ will always be a single click away in a predictable location. When there isn’t enough room to display the parent folder’s full name, it will appear truncated instead of going into the overflow. If space is especially tight, then the current folder’s name may appear truncated too, but in all cases the parent folder’s button will remain as a click target in the address bar. In addition to making the address bar an even better tool for navigating ‘up’ in Explorer, this change also makes it easier to tell where your are as you navigate around since you can now see at least part of the parent folder’s name. It also avoids introducing any more redundant buttons to the Explorer frame and hence taking away any more screen space from being able to see your address." *** I'm one of the users that hide the toolbar and use pathbar to navigate up in a folders' hierarchy - it would be nice if a similar approach would be used in Nautilus. It's a navigational control after all :)
Created attachment 137467 [details] [review] Patch to limit the pathbar buttons to 200 pixels in width Here's a possible patch to allow ellipsis into the pathbar button labels (and a tooltip to show the entire label). The solution provided in this patch isn't great (it forcibly limits the width of the button), it's a step.
*** Bug 596430 has been marked as a duplicate of this bug. ***
*** Bug 595604 has been marked as a duplicate of this bug. ***
*** Bug 600270 has been marked as a duplicate of this bug. ***
*** Bug 495682 has been marked as a duplicate of this bug. ***
*** Bug 440302 has been marked as a duplicate of this bug. ***
*** Bug 489689 has been marked as a duplicate of this bug. ***
*** Bug 594261 has been marked as a duplicate of this bug. ***
*** Bug 323379 has been marked as a duplicate of this bug. ***
Changing component as part of ongoing bug reorganisation work.
*** Bug 631190 has been marked as a duplicate of this bug. ***
*** Bug 648552 has been marked as a duplicate of this bug. ***
Still valid in 3.1.4.
*** Bug 675208 has been marked as a duplicate of this bug. ***
seeing 6-7 year old bugs, I'm feeling de-moralized to report any bugs... What's the point, if developers don't care to fix them! sad...
Asif Ali Rizvan: Please take meta issues to a forum or a mailing list. For more info, see the "No obligations" section of https://bugzilla.mozilla.org/page.cgi?id=etiquette.html and feel free to provide a patch.
(In reply to comment #27) > Asif Ali Rizvan: Please take meta issues to a forum or a mailing list. For more > info, see the "No obligations" section of > https://bugzilla.mozilla.org/page.cgi?id=etiquette.html and feel free to > provide a patch. My apologies, seeing at least 15 duplicates here in the last 6 years. I'm just shocked and awed. I am not demanding. I won't bother again. Patch already provided by Ted M Lin for nautilus 2.26 in 2009. Thanks.
So sorry this was left without resolution for this long time. I now pushed a patch very similar to the one proposed in this report to git master; even though I don't completely like the approach (ideally we would know how much space we can fit dynamically), it's better than what we have now in most of the cases, and fixes this very annoying ancient report.
(In reply to comment #29) > So sorry this was left without resolution for this long time. > I now pushed a patch very similar to the one proposed in this report to git > master; even though I don't completely like the approach (ideally we would know > how much space we can fit dynamically), it's better than what we have now in > most of the cases, and fixes this very annoying ancient report. Thank you so much Cosimo Cecchi for such a kind gesture.
Very nice to see this kind of detail fixed at last! ;-)
that change seems buggy, all buttons are ellipsized there, i.e [Userdir][bin] is displaying as [Use...][...]. The "Images" dir is displayed as "Im...s", etc
*** Bug 687603 has been marked as a duplicate of this bug. ***