Don't override IM variables
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu GNOME |
Fix Released
|
Low
|
Unassigned | ||
gnome-session |
Fix Released
|
Medium
|
|||
gnome-session (Ubuntu) |
Fix Released
|
Medium
|
Gunnar Hjalmarsson | ||
Xenial |
Fix Released
|
Medium
|
Gunnar Hjalmarsson | ||
gnome-settings-daemon (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Gunnar Hjalmarsson |
Bug Description
[Impact]
Currently these variable settings are hardcoded in gnome-session and gnome-settings-
QT_IM_MODULE=ibus
XMODIFIERS=@im=ibus
That way the use of alternative IM frameworks, for instance fcitx, is prevented. The variables should only be set if they are empty, so the values set by im-config are honored.
[Test Case]
* Install Ubuntu GNOME
* Install both the gnome-session and gnome-settings-
* Install fcitx
* Set fcitx as the input method:
im-config -n fcitx
* Relogin
* Check the IM-related environment variables:
env | grep -E '_IM|XMOD'
After the proposed uploads of gnome-session and gnome-settings-
[Regression Potential]
Low. im-config sets "ibus" by default in Ubuntu GNOME anyway. This change prevents an inconsistent input method configuration for users who have actively chosen some other IM framework.
The gnome-settings-
no longer affects: | language-selector (Ubuntu Xenial) |
no longer affects: | language-selector (Ubuntu) |
Changed in gnome-session (Ubuntu): | |
assignee: | nobody → Gunnar Hjalmarsson (gunnarhj) |
importance: | Undecided → Medium |
status: | Confirmed → In Progress |
Changed in gnome-session (Ubuntu Xenial): | |
assignee: | nobody → Gunnar Hjalmarsson (gunnarhj) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in gnome-settings-daemon (Ubuntu Xenial): | |
assignee: | nobody → Gunnar Hjalmarsson (gunnarhj) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in gnome-settings-daemon (Ubuntu): | |
status: | New → Fix Released |
summary: |
- Don't set ibus variables from gnome-session + Don't override IM variables |
Changed in gnome-session: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in gnome-settings-daemon (Ubuntu): | |
importance: | Undecided → Medium |
description: | updated |
Changed in gnome-session: | |
status: | Confirmed → Fix Released |
Changed in ubuntu-gnome: | |
status: | Fix Committed → Fix Released |
Well, I tested the attached patch, but it didn't make a difference - those two variables are still set to "ibus". What else can it be?
OTOH I could successfully type Mozc in gedit using fcitx. Can it be because the GTK_IM_MODULE variable was set to fcitx (by im-config) without being overridden by something else?
In any case, there seems to be more into it to make Ubuntu GNOME safely ready for users who prefer other IM frameworks but ibus.