GNOME Bugzilla – Bug 577913
Non-english letters aren't printed in GUI.
Last modified: 2009-09-01 17:54:33 UTC
Please describe the problem: (Already reported in ML.) Non-english letters are not printed in GUI. Two problems are reported, but I don't know they're related to each other. The real bug may be in librep or rep-gtk. 1. In GUI window list, i.e. root-menu -> windows, window title is printed. It is truncated when long. If the letter at the truncated position is at least Chinese or Japanese (CJK), then the whole title is not printed. See this for credits: http://mail.gnome.org/archives/sawfish-list/2009-March/msg00032.html 2. In configurator GUI, non-english letters are not printed. This is observed for some Latin letters not in Engilsh, as well as Japanese. I tried Japanese. In UI, Japanese texts of only few labels are displayed. I never use Japanese for sawfish and it's the first time, so I can't tell if it's a regression or not. Label: I'm not sure of the terminology, but I mean the text only widget. It's peculiar that all Japanese texts in button, tab, etc, are printed correctly. Root menu and submenus texts are also OK. Only configurator has this problem. All cases where Japanese texts are printed seem that the label lies leftmost in hbox. So in matcher, many texts are ok. Steps to reproduce: 1. For item 2, use an appropriate locale. I tested ja_JP.utf8 2. 3. Actual results: Expected results: Does this happen every time? yes. Other information:
confirming.
... for Windowmenus this is already fixed. For sawfish-ui we'll see. Since we update rep-gtk to gtk+ 2.12 and therefore to rewrite/update several parts of sawfish-ui we might get behind this.
Created attachment 140895 [details] [review] ugly hack The problem seems to be the i18n-initialization in sawfish/wm.jl. When it's not done here, sawfish-ui works correctly (sawfish-ui does it's own initialization in sawfish.ui.i18n, but disabling it here instead still looses). I don't know what's wrong (lang + locale-dir is set correctly, code for initialization is correct, but in sawfish/wm.jl it does not work, while it does in sawfish.ui.i18n) Any Idea, Teika?
fixed in librep 0.90.2