From Fedora Project Wiki

(s/gtk4-demo/gtk4-demo-application/)
(Change the test case order.)
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.
# GTK4 applications are supported since Fedora 34
## Install ibus-gtk4 and gtk4-devel-tools
## Enable an input method engine
## Run gtk4-demo-application with exporting `GTK_IM_MODULE=ibus` and `GDK_BACKEND=x11` environment variables
## Focus on the text view and type some language text
## Click "Application" -> "Open", click the Search icon in the dialog, focus on the text entry, type some language text
# [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
# [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
## Log into XFCE4 desktop with ja_JP.UTF-8 locale
## Log into XFCE4 desktop with ja_JP.UTF-8 locale
Line 18: Line 24:
## Run ibus-setup and Select "Advance" tab and disable "Choose glyphs with input method's language..." check button
## Run ibus-setup and Select "Advance" tab and disable "Choose glyphs with input method's language..." check button
## Now the candidate list has "直" and the glyph is Japanese (language from the desktop locale)
## Now the candidate list has "直" and the glyph is Japanese (language from the desktop locale)
# GTK4 applications are supported since Fedora 34
## Install ibus-gtk4 and gtk4-devel-tools
## Enable an input method engine
## Run gtk4-demo-application with exporting `GTK_IM_MODULE=ibus` and `GDK_BACKEND=x11` environment variables
## Focus on the text view 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=

Revision as of 03:06, 25 August 2022

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. 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
  5. [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)

Expected Results

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