https://bugs.documentfoundation.org/show_bug.cgi?id=171191

--- Comment #5 from Karsten Tausche <[email protected]> ---
Sure, please try these steps, they should work on at least Ubuntu 22.04 and
later. Just realizing how cumbersome this is..

* apt install ibus-libpinyin
* Restart you system (or at least desktop environment), otherwise the new ibus
functionality won't be available.
* Go into system settings > Keyboard > on top "Input Source" select "Add Input
Sources...". In the new window click three dots at the bottom of the list, then
type "Chinese", then select "Other" in the list, then select "Chinese
(Intelligent Pinyin)" and "Add"

Now you would have Pinyin input available. Check language/input toggle in the
notification area next to network settings etc (towards the right side of
notification bar on the top of the screen). In that list you would now see your
previous keyboard layouts, plus the new "Chinese (Intelligent Pinyin)". Now if
you select Chinese and then open the list once again, then below the language
list you will now see extra settings. The first entry will show either
"English" or "Chinese". "Chinese" means pinyin input is enabled, "English"
means your main keyboard/language input is enabled. Meanwhile the notification
bar icon shows either 中 (pinyin) or 英 (English/default input).

Once pinyin is active and you type anywhere, you'll get this ibus selection
list pop up next to the text input cursor. The quickest test case would be to
just type "a" and then "1". That will select and commit whatever Chinese
character shows up as first choice for pinyin "a", which will probably be "阿".

On my side the Libreoffice crash sometimes happen the first type typing and
committing a character via ibus/pinyin, sometimes only when the ibus selection
opens for the second time.

Note that with the ibus pinyin input, while the ibus selection window is open,
the input system is in preedit mode (not sure if that's the term ibus would use
internally though). During preedit mode ibus will already post the candidate
characters into the application text field. But until actually committing to a
candidate, ibus will keep replacing/removing the candidate depending on what
you do in the candidate window. I've seen this behavior causing odd behavior in
other cases, like on some websites via Firefox.

Hope that helps

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to