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 99921 - Icon view line breaking should be smarter
Icon view line breaking should be smarter
Status: RESOLVED WONTFIX
Product: nautilus
Classification: Core
Component: Views: Icon View
2.1.x
Other other
: Normal enhancement
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-11-29 21:11 UTC by nadaschauher
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description nadaschauher 2002-11-29 21:11:19 UTC
On the desktop and in icon views in general, I have noticed that Nautilus
tends to character linebreak, i.e. rip apart words, in labels that it
considers "long", very early. This can lead to severe ugliness with
languages that tend to produce long words, for example in German, a
language that doesn't allow to split up composite words using spaces.

One could use dashes, but the icon view also doesn't know how to break
words at typical punctuation marks like dashes, so in some languages there
is no possibility to produce nice-looking icon labels. As the icon view
aims to be good looking, I consider this a bug.

I suggest that the default line-breaking width be enhanced - it is very
narrow by default, IMHO, breaking just after the icon margins - or made
adjustable, and that a word-break algorithm be implemented that knows
punctuation marks, I suppose one might be taken from Gtk.
Comment 1 Alexander Larsson 2002-12-02 09:47:26 UTC
The linebreaking algorithm used is the word-breaking one specified in
the unicode standard, but it falls back to character wrapping for
words that don't fit in one line. Having wider word-breaking means
less icons per line, and the nautilus layout is considered to sparse
already.

BTW. Do you use compact layout? It so, disabling that does make the
line-width larger.
Comment 2 Aschwin van der Woude 2002-12-02 17:48:44 UTC
Does this mean the bug is WONTFIX?
Comment 3 Alex Duggan 2003-04-17 14:59:49 UTC
Marking as WONTFIX per Alex Larsson's suggestion.