Comment 40 for bug 663776

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

@gunnar, Regarding your proposed fix for input methods not starting based on *session* user language:

Using im-switch 1.20ubunu3.1 from proposed, the issue described in #39 appears resolved. That is, LANG does not control whether ibus-daemaon starts on session start but instead session user-selected language does.

There are four main cases, involving various combinations of languages that do and do not imply input methods, I think. I used English/US (en_US.UTF-8) and Chinese/Simplified (zh_CN.UTF-8) to test.

1) LANG=en_US.UTF-8; user selects English (US) at gdm.
Expected result: ibus does not start at session start up time
Actual result: ibus does NOT start
VERIFIED

2) LANG=en_US.UTF-8; user selects Chinese/Simplified at gdm.
Expected result: ibus does start at session start up time
Actual result: ibus DOES start
VERIFIED

3) LANG=zh_CN.UTF-8; user selects English (US) at gdm.
Expected result: ibus does not start at session start up time
Actual result: ibus does NOT start
VERIFIED

4) LANG=zh_CN.UTF-8; user selects Chinese/Simplified at gdm.
Expected result: ibus does start at session start up time
Actual result: ibus DOES start
VERIFIED

Based on this, my opinion is the fix works. I hope native Chinese/Simplified can do additional testing to ensure ibus there are no regressions.

Note that this is probably NOT, as you noted, the main issue: that input methods do not work in Unity search bar.