no ibus input method is registered after fresh install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Translations |
Fix Released
|
Undecided
|
Unassigned | ||
ibus |
Unknown
|
Unknown
|
|||
ibus (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: ibus
In a ISO test case "Installation Full Network Support & CJK Input", I cannot input Japanese without additional steps (manually register ibus-anthy as input method).
http://
This bug is reproducible in both cases with ubiquity(Desktop CD) and with d-i(Alternate CD).
And also reproducible not only in Japanese(ja) but also with Simplified Chinese(zh-hans) and Traditional Chinese(zh-hant).
This bug is regression from 10.10(Maverick). I didn't test in Natty Alpha1.
How to Reproduce:
1. Install Ubuntu according to the test case above.
2. ibus-anthy is installed(in Japanese case), but not registered in ibus-indicator.
WORKAROUND:
1. Click ibus-indicator and select "Preferences".
2. Open "Input Method" tab, select "Anthy" and "Add" button.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: ibus 1.3.9-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.38-1-generic i686
Architecture: i386
Date: Thu Feb 10 18:05:25 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110201.2)
ProcEnviron:
LANGUAGE=
LANG=ja_JP.UTF-8
LC_MESSAGES=
SHELL=/bin/bash
SourcePackage: ibus
description: | updated |
summary: |
- [Natty Alpha2] any ibus input method is not registered after fresh - install + [Natty Alpha2] no ibus input method is registered after fresh install |
description: | updated |
Changed in ibus (Ubuntu): | |
importance: | Undecided → Low |
summary: |
- [Natty Alpha2] no ibus input method is registered after fresh install + no ibus input method is registered after fresh install |
tags: |
added: patch-accepted-upstream removed: patch-needswork |
Changed in ubuntu-translations: | |
status: | New → Fix Released |
When "/desktop/ ibus/general/ preload_ engines" gconf setting is not available, ibus-daemon calls setlocale(LC_ALL, NULL); to query a locale setting of a user, and then determines which input method engine should be loaded based on the locale setting. /github. com/ibus/ ibus/tree/ 1.3.y#L354
https:/
Until Ubuntu 10.10, the setlocale function used to return a simple value like "ja_JP.UTF-8", but on 11.04 alpha 2, the function seems to return a looong string like "LC_CTYPE= ja_JP.UTF- 8;LC_NUMERIC= ja_JP.UTF- 8;LC_TIME= ja_JP.UTF- 8;LC_COLLATE= ja_JP.UTF- 8;LC_MONETARY= ja_JP.UTF- 8;LC_MESSAGES= ja_JP.utf8; LC_PAPER= ja_JP.UTF- 8;LC_NAME= ja_JP.UTF- 8;LC_ADDRESS= ja_JP.UTF- 8;LC_TELEPHONE= ja_JP.UTF- 8;LC_MEASUREMEN T=ja_JP. UTF-8;LC_ IDENTIFICATION= ja_JP.UTF- 8" which ibus-daemon is not able to parse.
For now, changing the 'lang = g_strdup (setlocale (LC_ALL, NULL));' line in ibus-1. 3.9/bus/ ibusimpl. c to 'lang = g_strdup (setlocale (LC_MESSAGES, NULL));' should fix the problem.