Well, actually I did switch to arch linux, not an ubuntu user anymore.
However I suppose it is still issue because of upstream ibus-libpinyin
package. Likely I would to post a bug report there but right now I am
simply fixing it for my self using simple patch like this:

```
diff -Naur src.org/ibus-libpinyin-1.9.0/src/libpinyin.xml.in.in 
src/ibus-libpinyin-1.9.0/src/libpinyin.xml.in.in
--- src.org/ibus-libpinyin-1.9.0/src/libpinyin.xml.in.in        2017-04-20 
17:52:53.000000000 +1000
+++ src/ibus-libpinyin-1.9.0/src/libpinyin.xml.in.in    2017-06-14 
13:34:13.966666659 +1000
@@ -21,7 +21,7 @@
                         BYVoid <[email protected]>
                         </author>
                        <icon>${pkgdatadir}/icons/ibus-pinyin.svg</icon>
-                       <layout>default</layout>
+                       <layout>us</layout>
                        <longname>Intelligent Pinyin</longname>
                        <description>Intelligent Pinyin input 
method</description>
                        <rank>99</rank>
```
After that all starts working just fine.

see source here https://github.com/libpinyin/ibus-
libpinyin/blob/master/src/libpinyin.xml.in.in#L24

switching to chinese from russian uses default layout, as described in
that xml, which is RU. because of that switching does not work. Forcing
the layout to be US resolves the issue.

Hope the information will be useful to somebody

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ibus-anthy in Ubuntu.
https://bugs.launchpad.net/bugs/1332847

Title:
  Switching from russian to chinese does not work

Status in ibus-anthy package in Ubuntu:
  Incomplete
Status in ibus-libpinyin package in Ubuntu:
  Incomplete
Status in ibus-pinyin package in Ubuntu:
  Incomplete

Bug description:
  There are three languages installed: en, ru, chinese pinyin (adjusted
  to be switched in this exact order).

  Switching en->ru works fine.
  Next switching ru->cn leaves the keyboard in russian thus impossible to enter 
chinese.

  Switching in reverse order en->cn works as expected.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: ibus-pinyin 1.5.0-1ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
  Uname: Linux 3.13.0-29-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sun Jun 22 02:54:38 2014
  EcryptfsInUse: Yes
  ExecutablePath: /usr/lib/ibus/ibus-engine-pinyin
  InstallationDate: Installed on 2014-06-21 (0 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  SourcePackage: ibus-pinyin
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ibus-anthy/+bug/1332847/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to