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 address hidden>> </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.
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.
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:
``` ibus-libpinyin- 1.9.0/src/ libpinyin. xml.in. in src/ibus- libpinyin- 1.9.0/src/ libpinyin. xml.in. in ibus-libpinyin- 1.9.0/src/ libpinyin. xml.in. in 2017-04-20 17:52:53.000000000 +1000 libpinyin- 1.9.0/src/ libpinyin. xml.in. in 2017-06-14 13:34:13.966666659 +1000
BYVoid <<email address hidden>>
</author>
<icon> ${pkgdatadir} /icons/ ibus-pinyin. svg</icon> default< /layout>
<longname> Intelligent Pinyin</longname>
<description >Intelligent Pinyin input method< /description>
<rank> 99</rank>
diff -Naur src.org/
--- src.org/
+++ src/ibus-
@@ -21,7 +21,7 @@
- <layout>
+ <layout>us</layout>
```
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