#539613 sonata: It's not possible to type cyrillic letters in input fields

#539613#5
Date:
2009-08-02 11:23:35 UTC
From:
To:
It's not possible to type cyrillic in any input field. To reproduce
just try to type non-ASCII in any input field, nothing will appear.

#539613#10
Date:
2009-08-05 14:01:07 UTC
From:
To:
Hi

Dne Sun, 02 Aug 2009 15:23:35 +0400
Khudyakov Alexey <alexey.skladnoy@gmail.com> napsal(a):

Do you get any error to terminal if you start sonata from it? Also do
you see such problem in other Gtk programs? And where exactly does the
input fail?

Also do you have properly configured locales? What is output of locale
program?

I can type Czech non-ASCII characters without any problem anywhere I've
tried.

#539613#15
Date:
2009-08-05 15:01:34 UTC
From:
To:
Other programs behave fine. I checked inkscape and easytag.

I think I've found possible culprit. When it's started with null GTK_IM_MODULE
envvar it works fine.
$ GTK_IM_MODULE= sonata

However when it's set to "xim" it's impossible to type anything but ASCII.
(It's still possible to paste non-ASCII text)
$ GTK_IM_MODULE=xim sonata

When I try to use XCompose I get following warning and nothing happens:

** (sonata:6337): WARNING **: Error converting text from IM to UTF-8: Invalid
byte sequence in conversion input


There is also one warning at startup. But I think it's not important:
$ sonata
/usr/lib/pymodules/python2.5/sonata/main.py:1854: GtkWarning:
gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed
  self.window.set_property('title', newtitle)
AFAIR yes. Locale output below:

LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=ru_RU.UTF-8

#539613#20
Date:
2009-08-18 15:30:02 UTC
From:
To:
Hi

Dne Wed, 5 Aug 2009 19:01:34 +0400
Khudyakov Alexey <alexey.skladnoy@gmail.com> napsal(a):

Ah, it looks like it is known upstream bug:

https://developer.berlios.de/bugs/?func=detailbug&bug_id=15631&group_id=7323

Feel free to provide more details there.