From Fedora Project Wiki

(Added how to select Typing Booster input method)
No edit summary
 
(38 intermediate revisions by 3 users not shown)
Line 2: Line 2:
|description=This is a test case to check ibus typing booster is working as expected.
|description=This is a test case to check ibus typing booster is working as expected.
|setup=
|setup=
Follow up to the steps in [[QA:Testcase i18n input method setup]] to configure the input method on the desktop in general.
Follow up to the steps in [[QA:Testcase i18n input method setup]] to configure the input method on the desktop in general.
# Install ibus typing booster using following command
 
#:<pre>dnf install ibus-typing-booster</pre>
* Install ibus typing booster using following command <pre>dnf install ibus-typing-booster</pre>
#:<pre>dnf install emoji-picker</pre>
 
#:<pre>dnf install python3-enchant</pre>
Installing emoji-picker is optional, but this is a nice stand-alone tool to search for emoji by browsing emoji categories or typing search strings. <pre>dnf install emoji-picker</pre>
#:<pre>dnf install pyhunspell-python3</pre>
 
#:(Installing python3-enchant and pyhunspell-python3 is optional, but at least one of these is installed, one will not only get completions but also spelling corrections. If both are installed, python3-enchant is preferred)
* [https://mike-fabian.github.io/ibus-typing-booster/docs/user/#1_1 Add the “Typing Booster” input source]. Open gnome-control-center ->  then on left side you click on "Keyboard" -> then on right side you you click on the + below the list of input sources -> In the dialog which pops up, select vertical 3 dots at the bottom. This is because only input methods for the most common languages are shown at the top. To browse the full list, you click on the 3 vertical dots. Then in the search box you type "Typing booster", You will find "Other". click on "Other". Then on "Other (Typing Booster)". Then on "Add" button. Now you should have an entry “Other (Typing Booster) 🚀” in the gnome panel.  
#: Installing emoji-picker is optional as well, but this is a nice stand-alone tool to search for emoji by browsing emoji categories or typing search strings.
 
# Add input source which have '''(Typing Booster)''' in the name. Open gnome-control-center ->  then on left side you click on "Region & languages" -> then on right side you select vertical 3 dots at the bottom. This is because the favorites input method always at top, to browse full list, you click on 3 vertical dots. Then in search box you type "Typing booster", You will find "other". click on "other". then on "Typing Booster". then on "Add" button. then on right top corner you will find "en" if you installed Fedora in "en" language.  click on it and you will see second in that list is "typing booster".
* You may also want to install hunspell dictionaries for your language because ibus-typing-booster can use them if they are installed. To install dictionaries for your language use <pre>dnf install hunspell-??</pre> where ?? is the code for your language. Alternatively you can skip installing the dictionaries in advance and test whether installing them later in the setup toool of Typing Booster using the “Install missing dictionaries” button works 😃
# Try to add '''(Typing Booster)''' input sources for different languages, especially interesting are languages where the native keyboard inputs non-ASCII characters (for example Russian, Greek)
 
# To install dictionaries of your language use
#:<pre>dnf install hunspell-??</pre>
#:where ?? is the code for your language.
|actions=
|actions=
# Select a '''(Typing Booster)''' input source in the Gnome panel
 
# Type something. A list of completion candidates should pop up.
* [https://mike-fabian.github.io/ibus-typing-booster/docs/user/ Typing Booster] testing:
# You can select and commit a candidate by typing the number displayed in front of the candidate.
**  Select the '''(Typing Booster)''' input source in the Gnome panel
# You can also select a candidate using the mouse.
**  [https://mike-fabian.github.io/ibus-typing-booster/docs/user/#2_1 Basic language setup.]:
# Or you can select a candidate using arrow-up/arrow-down and commit with the space key.
*** You can select the settings entry for '''(Typing Booster)''' in the panel now. This starts the setup tool.
# Or don’t select a candidate at all and commit the preëdit (the typed string) using the space key.
*** Check whether the default setup for the current locale looks reasonable.
# When typing something like '''cat_''' i.e. a word which matches an emoji followed by an underscore, you should see emoji among the candidates.
*** You may try to add more or different dictionaries and input methods.
# This should work in almost all languages, for example if you are using typing-booster with a Spanish dictionary, '''gato_''' should give you cat emojis.
**** If dictionaries are marked as missing with “❌”, you can try the button “Install missing dictionaries” which should install all missing dictionaries (as long as a suitable hunspell-?? package exists on Fedora)
# If you don’t want to type the '''_''' you can switch the option “Unicode symbols and emoji predictions“ on in the setup tool. Note that this slows down typing-booster a lot, therefore this option is off by default.  
**** Good opportunity for a bonus test for the m17n input methods here: When adding different input methods, scroll through the full list and see if you can spot any “minput_open_im() failed ❌” error messages. If not, that’s good because it means that all m17n input methods can be successfully opened 👍🏼
# For detailed information about emoji and Unicode symbol input see [[http://mike-fabian.github.io/ibus-typing-booster/documentation.html#emoji-predictions Unicode symbols and emoji predictions]]
** Basic typing test:
# Start <pre>/usr/bin/emoji-picker</pre> to test the emoji browsing tool.
*** Type something. A list of completion candidates should pop up.
# You can left click on a emoji to get it into the cut and paste buffer and then paste them into some program like gedit.
*** You can select and commit a candidate by typing the number displayed in front of the candidate.
# You can right click on a emoji to get more information about that emoji.
***  You can also select a candidate using the mouse.
# On emoji which support skin tone variants,for example 👧, you can middle click or long press with the left mouse button to get the skin tone variants.
*** Or you can select a candidate using arrow-up/arrow-down and commit with the space key.
# If an emoji is matched, it usually appears at the bottom of the candidate list (unless you typed that emoji already before, then it may get scored higher). If you see an emoji at the bottom of the candidate list and this is not the one you wanted, you can scroll the candidate list down to the next page(s), there will probably be more similar emoji. Or you can click the any emoji candidate with the right mouse button, this will give you similar emoji.
***  Or don’t select a candidate at all and commit the preëdit (the typed string) using the space key.
# Detailed documentation for emoji-picker is here: [[http://mike-fabian.github.io/ibus-typing-booster/documentation.html#emoji-picker Emoji picker]]
** [https://mike-fabian.github.io/ibus-typing-booster/docs/user/#7 Emoji typing] test:
# Detailed documentation for ibus-typing-booster is here [[http://mike-fabian.github.io/ibus-typing-booster/documentation.html ibus-typing-booster documentation]]
***  [https://mike-fabian.github.io/ibus-typing-booster/docs/user/#7_8 Quick emoji-mode toggling:]When typing something like '''cat_''' i.e. a word which matches an emoji followed by an underscore, you should see some cat emoji (😺 or similar) among the candidates. Scroll down the candidate list to find more emoji, right click with the mouse on an emoji candidate to see similar emoji. Right clicking on 🐱 should give something like 🐈🐈‍⬛🐶🐹🐰🦊…
***  This should work in almost all languages, for example if you are using typing-booster with a Spanish dictionary, '''gato_''' should give you cat emojis 😸.
***  If you want to get emoji matches without having to type '''_''' you can switch the option “☑️ Unicode symbols and emoji predictions“ on in the setup tool. Note that this slows down typing-booster a lot, therefore this option is off by default.
*** The emoji input in Typing Booster can actually be used to [https://mike-fabian.github.io/ibus-typing-booster/docs/user/#7_6 input arbitrary Unicode symbols]. For example typing “integral_volume_” should show something like ∰ and maybe similar symbols as a candidate.
*** If an emoji is matched, it usually appears at the bottom of the candidate list (unless you typed that emoji already before, then it may get scored higher). If you see an emoji at the bottom of the candidate list and this is not the one you wanted, you can scroll the candidate list down to the next page(s), there will probably be more similar emoji. Or you can click the any emoji candidate with the right mouse button, this will give you similar emoji.
** [https://mike-fabian.github.io/ibus-typing-booster/docs/user/#5 Compose input] testing:
*** Choose a Compose key ([https://mike-fabian.github.io/ibus-typing-booster/docs/user/#5_2 Video showing how to choose a Compose key in Gnome3])
*** Type `compose` `F` `.`, this should give “Ḟ”.
*** Type `compose` `F` `Tab`, [https://mike-fabian.github.io/ibus-typing-booster/docs/user/#5_4_5 possible completions for the unfinished compose sequence] should be shown as candidates, in this case something like Ḟ, 🖕, ffi, ffl, ₣. The first column in the candidate lists shows the keys which would have finished the compose sequence to get that candidate.
**** You can choose a candidate as usual or close the candidate list by typing `Escape` and finish the compose sequence by normal typing (Escape needs to be pressed twice if you selected something in the candidate list already)
 
* [https://mike-fabian.github.io/ibus-typing-booster/docs/user/#6_9 Emoji picker] testing:
** Start <pre>/usr/bin/emoji-picker</pre> to test the emoji browsing tool.
** You can left click on a emoji to get it into the cut and paste buffer and then paste them into some program like gedit.
** You can right click on a emoji to get more information about that emoji.
** On emoji which support skin tone variants,for example 👧, you can middle click or long press with the left mouse button to get the skin tone variants.
 
|results=
|results=
# New words are getting added to the user database after commit, therefore one should notice that the system becomes more intelligent while typing because it remembers which words appear in which context
 
# To speed up the learning process, one can use the ibus-typing-booster setup tool to read some text files
* New words are getting added to the user database after commit, therefore one should notice that the system becomes more intelligent while typing because it remembers which words appear in which context
 
* To speed up the learning process, one can use the ibus-typing-booster setup tool to read some text files
 
}}
}}


[[Category:Package_ibus-typing-booster_test_cases]]
[[Category:Package_ibus-typing-booster_test_cases]]
[[Category:I18n_Desktop]]
[[Category:I18n_Desktop]]

Latest revision as of 07:14, 9 September 2024

Description

This is a test case to check ibus typing booster is working as expected.

Setup

Follow up to the steps in QA:Testcase i18n input method setup to configure the input method on the desktop in general.

  • Install ibus typing booster using following command
    dnf install ibus-typing-booster
  • Installing emoji-picker is optional, but this is a nice stand-alone tool to search for emoji by browsing emoji categories or typing search strings.
    dnf install emoji-picker
  • Add the “Typing Booster” input source. Open gnome-control-center -> then on left side you click on "Keyboard" -> then on right side you you click on the + below the list of input sources -> In the dialog which pops up, select vertical 3 dots at the bottom. This is because only input methods for the most common languages are shown at the top. To browse the full list, you click on the 3 vertical dots. Then in the search box you type "Typing booster", You will find "Other". click on "Other". Then on "Other (Typing Booster)". Then on "Add" button. Now you should have an entry “Other (Typing Booster) 🚀” in the gnome panel.
  • You may also want to install hunspell dictionaries for your language because ibus-typing-booster can use them if they are installed. To install dictionaries for your language use
    dnf install hunspell-??
    where ?? is the code for your language. Alternatively you can skip installing the dictionaries in advance and test whether installing them later in the setup toool of Typing Booster using the “Install missing dictionaries” button works 😃

How to test

  • Typing Booster testing:
    • Select the (Typing Booster) input source in the Gnome panel
    • Basic language setup.:
      • You can select the settings entry for (Typing Booster) in the panel now. This starts the setup tool.
      • Check whether the default setup for the current locale looks reasonable.
      • You may try to add more or different dictionaries and input methods.
        • If dictionaries are marked as missing with “❌”, you can try the button “Install missing dictionaries” which should install all missing dictionaries (as long as a suitable hunspell-?? package exists on Fedora)
        • Good opportunity for a bonus test for the m17n input methods here: When adding different input methods, scroll through the full list and see if you can spot any “minput_open_im() failed ❌” error messages. If not, that’s good because it means that all m17n input methods can be successfully opened 👍🏼
    • Basic typing test:
      • Type something. A list of completion candidates should pop up.
      • You can select and commit a candidate by typing the number displayed in front of the candidate.
      • You can also select a candidate using the mouse.
      • Or you can select a candidate using arrow-up/arrow-down and commit with the space key.
      • Or don’t select a candidate at all and commit the preëdit (the typed string) using the space key.
    • Emoji typing test:
      • Quick emoji-mode toggling:When typing something like cat_ i.e. a word which matches an emoji followed by an underscore, you should see some cat emoji (😺 or similar) among the candidates. Scroll down the candidate list to find more emoji, right click with the mouse on an emoji candidate to see similar emoji. Right clicking on 🐱 should give something like 🐈🐈‍⬛🐶🐹🐰🦊…
      • This should work in almost all languages, for example if you are using typing-booster with a Spanish dictionary, gato_ should give you cat emojis 😸.
      • If you want to get emoji matches without having to type _ you can switch the option “☑️ Unicode symbols and emoji predictions“ on in the setup tool. Note that this slows down typing-booster a lot, therefore this option is off by default.
      • The emoji input in Typing Booster can actually be used to input arbitrary Unicode symbols. For example typing “integral_volume_” should show something like ∰ and maybe similar symbols as a candidate.
      • If an emoji is matched, it usually appears at the bottom of the candidate list (unless you typed that emoji already before, then it may get scored higher). If you see an emoji at the bottom of the candidate list and this is not the one you wanted, you can scroll the candidate list down to the next page(s), there will probably be more similar emoji. Or you can click the any emoji candidate with the right mouse button, this will give you similar emoji.
    • Compose input testing:
      • Choose a Compose key (Video showing how to choose a Compose key in Gnome3)
      • Type compose F ., this should give “Ḟ”.
      • Type compose F Tab, possible completions for the unfinished compose sequence should be shown as candidates, in this case something like Ḟ, 🖕, ffi, ffl, ₣. The first column in the candidate lists shows the keys which would have finished the compose sequence to get that candidate.
        • You can choose a candidate as usual or close the candidate list by typing Escape and finish the compose sequence by normal typing (Escape needs to be pressed twice if you selected something in the candidate list already)
  • Emoji picker testing:
    • Start
      /usr/bin/emoji-picker
      to test the emoji browsing tool.
    • You can left click on a emoji to get it into the cut and paste buffer and then paste them into some program like gedit.
    • You can right click on a emoji to get more information about that emoji.
    • On emoji which support skin tone variants,for example 👧, you can middle click or long press with the left mouse button to get the skin tone variants.

Expected Results

  • New words are getting added to the user database after commit, therefore one should notice that the system becomes more intelligent while typing because it remembers which words appear in which context
  • To speed up the learning process, one can use the ibus-typing-booster setup tool to read some text files