After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 678341 - buggy ellipsizing of pathbar buttons
buggy ellipsizing of pathbar buttons
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Path Bar
3.5.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-06-18 17:00 UTC by Doug McMahon
Modified: 2012-06-25 17:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot (93.97 KB, image/png)
2012-06-18 17:06 UTC, Doug McMahon
Details

Description Doug McMahon 2012-06-18 17:00:47 UTC
The commit to fix this bug -Bug 313854  has caused poor results with some themes, some locations show only as ... or Im...s", etc
Attached screen from ubuntu 12.10, nautilus 1:3.5.2-0ubuntu2 using ambaince theme
Comment 1 Doug McMahon 2012-06-18 17:06:02 UTC
Created attachment 216693 [details]
screenshot
Comment 2 Sebastien Bacher 2012-06-18 17:19:36 UTC
Some notes:

- the issue seems theme specific (it doesn't happen with adwaita)

- the commit which created the issue is
http://git.gnome.org/browse/nautilus/commit/?id=79157f5617886401379a724f8c526c430c4876a6

- the child_allocation.width is 4 units smaller with ambiance (Ubuntu default theme) than with adwaita, it's like some difference in padding or such...

- changing this line
"child_allocation.width = MIN (child_requisition.width, largest_width)"
to add "4" makes it look fine

not sure if that's a theme or gtk issue in the requisition.width...
Comment 3 Cosimo Cecchi 2012-06-25 17:37:13 UTC
Thanks for the report; I now pushed a fix for this (tested with latest Unico and light-themes as well) to git master for 3.5.3.