From Fedora Project Wiki

(Add GTK4 application)
(Drop the printing test case since this is for input.)
Line 12: Line 12:
# Open an application, left click ''Ibus input method framework'' icon in the panel to select the input method.  
# Open an application, left click ''Ibus input method framework'' icon in the panel to select the input method.  
# Input some texts like words, numbers, special characters into application.
# Input some texts like words, numbers, special characters into application.
# Select ''File -> Print'' to print out the page.
# Same codepoints have duplicated glyphs and glphs has been taken for the language of the current engine by default in non-GNOME desktops since Fedora 33
# Same codepoints have duplicated glyphs and glphs has been taken for the language of the current engine by default in non-GNOME desktops since Fedora 33
## Log into XFCE4 desktop with ja_JP.UTF-8 locale
## Log into XFCE4 desktop with ja_JP.UTF-8 locale

Revision as of 07:13, 25 August 2021

Description

This test is to check if input displayed and prints correctly in applications such as

  • LibreOffice
  • Evolution
  • Terminal
  • gnome-software
  • Firefox
  • KWrite


How to test

  1. See QA:Testcase_i18n_input_method to check if the input method is enabled
  2. Open an application, left click Ibus input method framework icon in the panel to select the input method.
  3. Input some texts like words, numbers, special characters into application.
  4. Same codepoints have duplicated glyphs and glphs has been taken for the language of the current engine by default in non-GNOME desktops since Fedora 33
    1. Log into XFCE4 desktop with ja_JP.UTF-8 locale
    2. Enable ibus-libpinyin and type "zhi"
    3. The candidate list has "直" and the glyph is Chinese (language of ibus-libpinyin)
    4. Run ibus-setup and Select "Advance" tab and disable "Choose glyphs with input method's language..." check button
    5. Now the candidate list has "直" and the glyph is Japanese (language from the desktop locale)
  5. GTK4 applications are supported since Fedora 34
    1. Install ibus-gtk4 and gtk4-devel
    2. Enable an input method engine
    3. Run gtk4-demo with exporting GTK_IM_MODULE=ibus environment variable
    4. Select Entry -> Completion and click "Run" button and launch the entry dialog
    5. Focus on the dialog and type some language text

Expected Results

  1. Characters are displayed properly and not corrupted in applications.
  2. Words are printed out without error.