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 648552 - Long folder names should be ellipsized in location bar's buttons
Long folder names should be ellipsized in location bar's buttons
Status: RESOLVED DUPLICATE of bug 313854
Product: nautilus
Classification: Core
Component: Location Bar
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-24 12:26 UTC by Milan Bouchet-Valat
Modified: 2011-04-25 18:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.91/3.0


Attachments
Correct bar (wide enough window) (9.01 KB, image/png)
2011-04-24 12:28 UTC, Milan Bouchet-Valat
Details
Broken bar (hidden Search button) (6.81 KB, image/png)
2011-04-24 12:29 UTC, Milan Bouchet-Valat
Details
Broken bar (all buttons hidden) (1.07 KB, image/png)
2011-04-24 12:29 UTC, Milan Bouchet-Valat
Details

Description Milan Bouchet-Valat 2011-04-24 12:26:49 UTC
When a folder name is very long, which occurs for example when browsing a remote share named "$FOLDER on $HOST as $USER", the location bar looks really broken:
1) The button for the current folder takes most of the space
2) Next, Previous and Search buttons can be hidden
3) Under certain size conditions, the toolbar can be completely empty


The best explanation is a good screenshot (TM):
- Attachment 1 [details] shows a very long folder name and a correct bar (real situation, I resized the dialog so that it's wide enough).
- Attachment 2 [details] shows the same situation, but with a slightly narrower window: the Search button is hidden, while I think the button's text should rather be ellipsized in this case.
- Attachment 3 [details] shows again the same situation, where the window is too narrow for the name of the folder to be fully shown: it's clearly sub-optimal, since neither the buttons nor the folder name are shown. If the latter was ellipsized, both could be shown.


Maybe it would even be good to set max-width-chars, so that long folder names don't take space that could be used by parent folders. If a folder name is more than, say, 20 chars, it's probably more useful to use pixels to show it's parent, allowing to go easily to it, rather than showing the full name. (Even more clever, it would be useful to make the current folder name


I'm using Nautilus 3.0.0 on Fedora 15.

(Other than that, the new Nautilus is really great!)
Comment 1 Milan Bouchet-Valat 2011-04-24 12:28:32 UTC
Created attachment 186550 [details]
Correct bar (wide enough window)
Comment 2 Milan Bouchet-Valat 2011-04-24 12:29:07 UTC
Created attachment 186551 [details]
Broken bar (hidden Search button)
Comment 3 Milan Bouchet-Valat 2011-04-24 12:29:31 UTC
Created attachment 186552 [details]
Broken bar (all buttons hidden)
Comment 4 Cosimo Cecchi 2011-04-25 18:23:17 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 313854 ***