From Fedora Project Wiki

Revision as of 11:41, 1 September 2021 by Mfabian (talk | contribs)

Description

The feature covers the “Cangjie” and “Quick” engines from ibus-table to provide fast Chinese input for Hong Kong and Taiwan people.

Setup

⚠️ Warning: There are different implementations of Cangjie and Quick engines, those from ibus-table and those from ibus-cangjie. They are easily confused, so try to choose the right ones for this test.

  • The Cangjie engines from ibus-cangjie are in the ibus-cangjie-engine-cangjie package.
  • The Quick engines from ibus-cangjie are in the ibus-cangjie-engine-quick package.
  • The Cangjie engines from ibus-table are in the ibus-table-chinese-cangjie package.
  • The Quick engines from ibus-table are in the ibus-table-chinese-quick package.

You can have all these packages installed at the same time, if you want, but then you have to be extra careful not to confuse them when selecting them for example in the Gnome Control Center. They look very similar there:

🚧 Different Cangjie and Quick engines in the Gnome Control Centre

So make sure that the ibus-table-chinese-cangjie and ibus-table-chinese-quick packages are installed, restart your session, then follow the steps in QA:Testcase i18n input method setup to configure the input method on the desktop in general. And take extra care to choose the right ones in the Gnome Control Centre❗

You can double check whether you did select the right ones by clicking on the 3 vertical dots to the right of the input source and open the setup tool. The setup tool for ibus-table looks very different from the setup tool for ibus-cangjie.

How to test

🚧

Cangjie3:

  • Input typed ➡️ result
    • m w y l ➡️ 面

Cangjie5:

  • Input typed ➡️ result
    • m w y l ➡️ 一卜田 Still in preedit, it cannot be committed, because this sequence is invalid in Cangjie5. If sound is on you hear an error beep. The part of the preedit which was still valid 一卜田 is coloured black, the part which made it invalid is coloured magenta (⚠️ When using Wayland, colour in the preedit does not work so it is all black. Even in Wayland you still know that this sequence is invalid because no result can be produced, typing space will not commit.

Expected Results

All steps above completed successfully.