chinese ibus pinyin input produces non-corresponding characters

Bug #1298700 reported by Joe Liau
72
This bug affects 13 people
Affects Status Importance Assigned to Milestone
ibus-pinyin (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04

ibus-pinyin:
  Installed: 1.5.0-1ubuntu1
  Candidate: 1.5.0-1ubuntu1
  Version table:
 *** 1.5.0-1ubuntu1 0
        500 http://mirror.it.ubc.ca/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

Installed language support, ibus, and added Chinese(Pinyin) through the "Text Entry Settings".

When typing in "pinyin" the Chinese characters produced do not correspond to what was typed in pinyin. Instead it looks like the keyboard is following the bopomofo or zhuyin method.

Tags: patch
Joe Liau (joe)
description: updated
Revision history for this message
Jerry (jerry2yu) wrote :

I am also see the same issue after upgraded to 14.04

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ibus-pinyin (Ubuntu):
status: New → Confirmed
Revision history for this message
suokunlong (suokunlong) wrote :

I also confirm. Some more info:

This seems only happen during the first time you install Simplified Chinese language support. When reboot everything will be OK.

(Althrough "reboot" is an easy workaround, this bug will scare away many new users who want to try the new ubuntu, so very critical.)

Revision history for this message
Hawk (beehock) wrote :

ibus-daemon -drx seem to fix it

Revision history for this message
suokunlong (suokunlong) wrote :

Also, during ubuntu install, when you are connected to internet and selected "zh_cn" as default language, ibus-pinyin works ok when install completed and restarted.

To reporduce this bug:
* Boot up an ubuntu 14.04 ISO image;
* Add "Chinese (pinyin)" in the Text Entry input source;
* Make sure Chinese Pinyin is active and type "pinyin". It should show "拼音" as the 1st candidate but actually it shows candidates which are not related to "pinyin" at all.

Revision history for this message
Soares Chen (soareschen) wrote :

I had the same problem after upgrading from Ubuntu 13.10. Since I had pinyin previously enabled, restarting alone did not solve the problem. The input behavior is corrected only when I removed pinyin input from Text Entry Settings, restart the computer, and then add pinyin input again.

Revision history for this message
jeremy-list (quick-dudley) wrote :

I have this bug, but restarting doesn't help. Because of this problem: there is no way to type Chinese in Ubuntu 14.4.

Revision history for this message
jeremy-list (quick-dudley) wrote :

I finally got ibus-pinyin working correctly: the following steps are all necessary and must be performed in order.
1: remove pinyin from the list of available engines
2: run the command: dconf reset -f /desktop/ibus/
3: reboot the computer
4: re-enable ibus-pinyin.

Revision history for this message
Joe Liau (joe) wrote :

Confirmed: This is still happening in 14.04, but jeremy-list's suggestion works.

Revision history for this message
Pauli Virtanen (pauli-virtanen) wrote :

jeremy-list's suggestion works --- for me, step 2. could be replaced by `dconf reset -f /desktop/ibus/engine/pinyin` so that it only resets the pinyin engine settings.

Revision history for this message
jeremy-list (quick-dudley) wrote :

I now have this issue on another computer and my suggestion no longer works.

Revision history for this message
Pudicca (martintianmeng) wrote :

This method works for me:

1. remove then reinstall ibus:
sudo apt-get purge ibus
sudo apt-get install ibus

2. install missing components:
open "language support" *it will automatically check if there is anything missing from your already installed languages
install missing components following the instructions

3. install components that happened to be deleted when you removed ibus:
open Synaptic Package Manager
Install following components:
    ibus-table
    ubuntu-desktop
    unity-control-center
    unity-control-center-signon
    webaccounts-extension-common
    xul-ext-webaccounts

Pretty sure there are better ways to do it. I'm not familiar with those command line stuff lol.

Revision history for this message
Thomas Kempa (tokebo) wrote :

I did install Ubuntu 14.4 on a new computer (after using 12.4 ever since) and had the abovesaid problem.

Pudicca's little "recipe" was very easy to reproduce - and it works!

Revision history for this message
elim (elim-qiu) wrote :

I tend to believe some procedure of re-install the package would fix ibus-pinyin. But i did 6 fresh installation and 3+ upgrads, none of those worked.

It maybe depends on the hardware, some of them would work and some wouldn't. But even though, it's still confirms the bug. In fact I never see this workling.

Revision history for this message
Roy (wuiohot) wrote :

Can this fix the bug?

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "patch.diff" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Larry Xiao (xiaodi) wrote :

ibus-daemon -drx worked for me

Revision history for this message
Joe Liau (joe) wrote :

I only had very temporary success with ibus-daemon -drx on 15.04

As a work around, I am using fcitx instead of ibus.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.