[Bug 1594681] [NEW] Don't override IM variables

Launchpad Bug Tracker 1594681 at bugs.launchpad.net
Sun Aug 14 02:28:04 UTC 2016


You have been subscribed to a public bug by Gunnar Hjalmarsson (gunnarhj):

[Impact]

Currently these variable settings are hardcoded in gnome-session and
gnome-settings-daemon:

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 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-daemon,
those variables are consistently (unlike before) set to "fcitx".

[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.

** Affects: gnome-session
     Importance: Unknown
         Status: Unknown

** Affects: ubuntu-gnome
     Importance: Undecided
         Status: New

** Affects: gnome-session (Ubuntu)
     Importance: Medium
     Assignee: Gunnar Hjalmarsson (gunnarhj)
         Status: In Progress

** Affects: gnome-settings-daemon (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: gnome-session (Ubuntu Xenial)
     Importance: Medium
     Assignee: Gunnar Hjalmarsson (gunnarhj)
         Status: In Progress

** Affects: gnome-settings-daemon (Ubuntu Xenial)
     Importance: Medium
     Assignee: Gunnar Hjalmarsson (gunnarhj)
         Status: In Progress


** Tags: patch
-- 
Don't override IM variables
https://bugs.launchpad.net/bugs/1594681
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list