[Oneiric] ibus does not register as IM_MODULE in GTK, GTK_IM_MODULE is always "xim"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ibus (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In oneiric(GTK3) environments, environment variable "GTK_IM_MODULE" always set as "xim", not "ibus".
[How to reproduce]
0) install ibus, and/or clean install with any language that need IM subsystem(such as Japanese, Chinese, Korean, Frence..etc.).
1) log-in Oneiric.
2) variable GTK_IM_MODULE set as ibus.
You will see in terminal:
$ export | grep GTK_IM_MODULE
[expect results]
When we have /usr/lib/
[actual results]
always use xim (GTK_IM_MODULE=xim)
[side effects by this problem]
Some IM system needs "candidate" window, that layout by {xim, ibus} modules.
For historical/
Good case(GTK_
Bad case (GTK_IM_MODULE=xim) : https:/
That breaks Desktop UX for.
[analysis]
That problem caused by /etc/X11/
This scripts has bad glob coding as follows:
-------
$ cat /etc/X11/
(..snip..)
if [ -e /usr/lib/
GTK_
else
GTK_
fi
(..snip..)
-------
In GTK2/GTK3 dual-stack environments, this glob pattern matches two files(see below). test(1) does not support multiple operand, that will fail with error message "[: 7: /usr/lib/
-------
$ ls /usr/lib/
/usr/lib/
/usr/lib/
-------
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: ibus 1.3.9-2ubuntu2
ProcVersionSign
Uname: Linux 3.0.0-8-generic-pae i686
Architecture: i386
Date: Tue Aug 9 18:56:13 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcEnviron:
LANGUAGE=ja:en
PATH=(custom, user)
LANG=ja_JP.UTF-8
LC_MESSAGES=
SHELL=/bin/zsh
SourcePackage: ibus
UpgradeStatus: Upgraded to oneiric on 2011-08-09 (0 days ago)
Related branches
summary: |
- [Oneiric] ibus does not register as default IM, GTK_IM_MODULE is always - "xim" + [Oneiric] ibus does not register as IM_MODUL in GTK, GTK_IM_MODULE is + always "xim" |
summary: |
- [Oneiric] ibus does not register as IM_MODUL in GTK, GTK_IM_MODULE is + [Oneiric] ibus does not register as IM_MODULE in GTK, GTK_IM_MODULE is always "xim" |
Here is the debdiff for fix this issue.