From Fedora Project Wiki

(s/gtk4-devel/gtk4-devel-tools/)
(s/gtk4-demo/gtk4-demo-application/)
 
Line 21: Line 21:
 
## Install ibus-gtk4 and gtk4-devel-tools
 
## Install ibus-gtk4 and gtk4-devel-tools
 
## Enable an input method engine
 
## Enable an input method engine
## Run gtk4-demo with exporting `GTK_IM_MODULE=ibus` and `GDK_BACKEND=x11` environment variables
+
## Run gtk4-demo-application with exporting `GTK_IM_MODULE=ibus` and `GDK_BACKEND=x11` environment variables
## Select Entry -> Completion and click "Run" button and launch the entry dialog
+
## Focus on the text view and type some language text
## Focus on the dialog and type some language text
+
## Click "Application" -> "Open", click the Search icon in the dialog, focus on the text entry, type some language text
  
 
|results=
 
|results=

Latest revision as of 04:09, 9 September 2021

Description

This test is to check if input displayed 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. [Non-GNOME] Some codepoints have duplicated glyphs: glyphs are 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-tools
    2. Enable an input method engine
    3. Run gtk4-demo-application with exporting GTK_IM_MODULE=ibus and GDK_BACKEND=x11 environment variables
    4. Focus on the text view and type some language text
    5. Click "Application" -> "Open", click the Search icon in the dialog, focus on the text entry, type some language text

Expected Results

  1. Characters are displayed properly and not corrupted in applications.