qtconfig can't start in GNOME with XMODIFIERS="@im=SCIM" and scim running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qt-x11-free (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
After qt-x11-free 3:3.3.5-1ubuntu14 fixing the XIM support in Qt, I can activate XIM in Qt/KDE apps in KDE environments. However, now with the same XIM program (scim), Qt/KDE apps don't work anymore in GNOME environment.
Take qtconfig for example, if I set the XIM environment variable XMODIFIERS=
$ qtconfig
Failed to create XIM input context!
Aborted
Running qtconfig without XIM environment variable set is fine, i.e.
$ XMODIFIERS="" qtconfig
works. If I don't start scim, but only set XMODFIERS, qtconfig works fine too, although complaining that it can't find input context or something.
The QT_IM_MODULE can also control Qt/KDE apps' behavior with regard of input methods. In my test QT_IM_MODULE is not set, but if I explicitly set it to empty:
$ QT_IM_MODULE="" qtconfig
will work. And setting it to xim:
$ QT_IM_MODULE="xim" qtconfig
will abort in the same way. So it seems when QT_IM_MODULE is not set, it defaults to xim.
Changed in qt-x11-free: | |
assignee: | nobody → jr |
This is a gdb backtrace for qtconfig aborting in GNOME with scim running and XMODIFIERS set to "@im=SCIM"