Red Hat Bugzilla – Bug 67858
nautilus desktop icons' text partly off screen
Last modified: 2007-04-18 12:43:50 EDT
Description of Problem:
The start of the text labels of the desktop icons is displayed
off screen when in a Japanese locale.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. login into gnome session in Japanese locale
2. look at the desktop icon text
The first letter of the "user's home" and the "start from here"
is off screen.
The entire text should be on the screen.
This is in 1152x864 if it matters.
Not specific to Japanese, and happens in nautilus 2.0.3 still. Nautilus source
code looks like it should handle this. May be related to "nautilus icons come up
in a big pile" bug. Should check whether it happens with a nautilus using core X
Startup screen in ja_JP locale also has the message text positioned below the
Splash screen problem is also not CJK-specific, happens in all locales.
It looks like nautilus just looks at max-width when considering icon text width.
I think this is due to the change in wrapping. Nautilus used to wordwrap, but if
that wasn't possible, use character wrapping to never extend past min_width. I'm
not sure how to get this behaviour back with pango.
As a hack maybe we could just crank up the max width for now?
See http://bugzilla.gnome.org/show_bug.cgi?id=81906 for a request
for the relevant Pango enhancement (definitely not going to happen
for Milan or pango-1.2 though.)
In nautilus 2.0.5-2 I'm putting in a lame hack to just pad the left margin
and make this happen less often. We can increase the margin a bit if desired.
Upstream as http://bugzilla.gnome.org/show_bug.cgi?id=91547
Looks much better now, thanks. (The end of "home" in Japanese is getting split
across a line now, so if the default wide could be increased a bit more it
would be even nicer, though not such a big deal.)