Set GTK_IM_MODULE in Ubuntu on Xorg sessions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
im-config (Debian) |
Fix Released
|
Unknown
|
|||
im-config (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Low
|
Gunnar Hjalmarsson | ||
Kinetic |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
gnome-settings-
* Prepare an Ubuntu desktop so it has only non-IBus items in the list
of input sources, while the ibus-libpinyin package is installed.
* Log in to an Ubuntu on Xorg session
* Go to Settings -> Keyboard and add Chinese (Intelligent Pinyin) to
the input sources
* Switch to Intelligent Pinyin
* Find that you only can input latin letters
* Log out and log in again
* Find that you now can input Chinese as expected
The need for the last relogin is an inconvenience and a regression compared to how it worked before gnome-settings-
The proposed upload makes im-config set the GTK_IM_MODULE variable to 'ibus' for Ubuntu on Xorg sessions, which makes it work as smoothly as it did previously.
[ Test Plan ]
* Prepare an Ubuntu desktop so it has only non-IBus items in the list
of input sources, while the ibus-libpinyin package is installed.
* Install im-config from jammy-proposed
* Reboot and log in to an Ubuntu on Xorg session
* Go to Settings -> Keyboard and add Chinese (Intelligent Pinyin) to
the input sources
* Switch to Intelligent Pinyin
* Find that you instantly can input Chinese
Post-release:
After the new version has been moved to jammy-updates and propagated, be attentive to the crash stats at errors.ubuntu.com. If a significant increase of crashes happens, which can be assumed to be related to this change, a reversal should be considered.
[ Where problems could occur ]
This means that we — again — make im-config interfere with the IM configuration on GNOME desktops. Via bug #1893551 we kind of did the opposite in order to reduce the frequency of ibus crashes. But the situation now is different:
- This is more narrow-scoped and limited to x11
- The upstream GNOME code has undergone significant changes
- The measure is greenlighted by the upstream IBus maintainer (I think
Fedora does it too)
But with that said, I'm going to be attentive to the frequency of ibus crashes going forward.
[ Other Info ]
I prefer to skip kinetic for these reasons:
- Not so much time left before EOL
- Low importance
- A jammy user with an IBus IM already set up, and who upgrades to
kinetic, won't encounter a problem.
Changed in im-config (Ubuntu Kinetic): | |
status: | New → Won't Fix |
Changed in im-config (Ubuntu Jammy): | |
assignee: | nobody → Gunnar Hjalmarsson (gunnarhj) |
importance: | Undecided → Low |
status: | New → In Progress |
Changed in im-config (Debian): | |
status: | Unknown → Fix Released |
It was the discussion at this Ask Ubuntu question:
https:/ /askubuntu. com/questions/ 1449426/ not-able- to-type- hangul- letters
which called my attention to this issue.