From Fedora Project Wiki
(Change approved by FESCo)
(Postpone mmap feature to Fedora 35 and updates with the current new features for Fedora 34.)
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:


== Summary ==
== Summary ==
IBus will use the mmap(2) feature to show emoji and Unicode tables in order to reduce the physical memory usage.
IBus will provide GTK4 IM module and enhance `ibus-setup` to search input method names more easily.  
<!-- A sentence or two summarizing what this change is and what it will do. This information is used for the overall changeset summary page for each release.  
<!-- A sentence or two summarizing what this change is and what it will do. This information is used for the overall changeset summary page for each release.  
Note that motivation for the change should be in the Benefit to Fedora section below, and this part should answer the question "What?" rather than "Why?". -->
Note that motivation for the change should be in the Benefit to Fedora section below, and this part should answer the question "What?" rather than "Why?". -->
Line 45: Line 45:
-->
-->
* FESCo issue: [https://pagure.io/fesco/issue/2542 #2542]
* FESCo issue: [https://pagure.io/fesco/issue/2542 #2542]
* Tracker bug: <will be assigned by the Wrangler>
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=1916920 #1916920]
* Release notes tracker: <will be assigned by the Wrangler>
* Release notes tracker: [https://pagure.io/fedora-docs/release-notes/issue/636 #636]


== Detailed Description ==
== Detailed Description ==
Currently IBus disables the emoji and Unicode features in some system users likes gdm, liveuser, gnome-initial-setup not to exhaust the limited memory usage with LiveDVD. The emoji data requires about 10MB and the Unicode data requires about 15MB and the total 25MB is required roughly to show the tables. The Fedora testers ask to test the emoji feature and Unicode feature in LiveDVD and the next IBus will use mmap to be available the emoji and Unicode data with liveuser.  
Now GTK4 is available in Fedora 34 and IBus provides the GTK4 IM module.
Previously `ibus-setup` could search language names only under the language list and needed to show input methods under the specific language name to search input method names. In this release, `ibus-setup` can search both language names and input method names under the language list. Howerver `ibus-setup` is not required in GNOME desktop which provides `gnome-control-center` instead.
<!-- Expand on the summary, if appropriate.  A couple sentences suffices to explain the goal, but the more details you can provide the better. -->
<!-- Expand on the summary, if appropriate.  A couple sentences suffices to explain the goal, but the more details you can provide the better. -->


== Feedback ==
== Feedback ==
Fedora I18N testers asks to test the emoji and Unicode data without installing Fedora to disc.
Users expect to use input methods in GTK4 applications too.
<!-- Summarize the feedback from the community and address why you chose not to accept proposed alternatives. This section is optional for all change proposals but is strongly suggested. Incorporating feedback here as it is raised gives FESCo a clearer view of your proposal and leaves a good record for the future. If you get no feedback, that is useful to note in this section as well. For innovative or possibly controversial ideas, consider collecting feedback before you file the change proposal. -->
<!-- Summarize the feedback from the community and address why you chose not to accept proposed alternatives. This section is optional for all change proposals but is strongly suggested. Incorporating feedback here as it is raised gives FESCo a clearer view of your proposal and leaves a good record for the future. If you get no feedback, that is useful to note in this section as well. For innovative or possibly controversial ideas, consider collecting feedback before you file the change proposal. -->


== Benefit to Fedora ==
== Benefit to Fedora ==
IBus will reduce the physical memory usage to load the emoji and Unicode data per user.
Input methods are also required for GTK4 applications.
<!-- What is the benefit to the distribution?  Will the software we generate be improved? How will the process of creating Fedora releases be improved?
<!-- What is the benefit to the distribution?  Will the software we generate be improved? How will the process of creating Fedora releases be improved?
    
    
Line 107: Line 108:


== Upgrade/compatibility impact ==
== Upgrade/compatibility impact ==
About 25MB free disc space will be needed.
No impact.
<!-- What happens to systems that have had a previous versions of Fedora installed and are updated to the version containing this change? Will anything require manual configuration or data migration? Will any existing functionality be no longer supported? -->
<!-- What happens to systems that have had a previous versions of Fedora installed and are updated to the version containing this change? Will anything require manual configuration or data migration? Will any existing functionality be no longer supported? -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->


== How To Test ==
== How To Test ==
# Run Fedora LiveDVD and log into the Fedora desktop
# Install ibus-gtk4 and gtk4-devel packages.
# Run `gnome-control-center region` and add both XKB and input method sources. E.g. "English (US)" and "Hangul"
# Enable an input method engine
# Enable an XKB source with mouse or Super-space shortcut key. E.g. "English (US)"
# Run gtk4-demo
# Type Ctrl-Shift-e, "smile", space, and Enter key.
# Select "Entry" -> "Completion" in the left pane
# Click "Run" button in the top
# Focus on the input entry and type a language string.
 
# Log into non-GNOME desktop likes XFCE4 desktop
# Run ibus-setup
# Select "Input Method" tab
# Click "Add" button and launch "Select an input method" dialog
# Select "" item in the language list and show the search entry
# Type an input method name in the entry likes "anthy" or "hangul"


U+1F603 is output.
<!-- This does not need to be a full-fledged document. Describe the dimensions of tests that this change implementation is expected to pass when it is done.  If it needs to be tested with different hardware or software configurations, indicate them.  The more specific you can be, the better the community testing can be.  
<!-- This does not need to be a full-fledged document. Describe the dimensions of tests that this change implementation is expected to pass when it is done.  If it needs to be tested with different hardware or software configurations, indicate them.  The more specific you can be, the better the community testing can be.  


Line 135: Line 144:


== User Experience ==
== User Experience ==
The physical memory usage will be reduced.
Just launch GTK4 applications if the IBus setup is done.
<!-- If this change proposal is noticeable by users, how will their experiences change as a result?
<!-- If this change proposal is noticeable by users, how will their experiences change as a result?



Latest revision as of 11:23, 19 February 2021


IBus 1.5.24

Summary

IBus will provide GTK4 IM module and enhance ibus-setup to search input method names more easily.

Owner

Current status

Detailed Description

Now GTK4 is available in Fedora 34 and IBus provides the GTK4 IM module. Previously ibus-setup could search language names only under the language list and needed to show input methods under the specific language name to search input method names. In this release, ibus-setup can search both language names and input method names under the language list. Howerver ibus-setup is not required in GNOME desktop which provides gnome-control-center instead.

Feedback

Users expect to use input methods in GTK4 applications too.

Benefit to Fedora

Input methods are also required for GTK4 applications.

Scope

  • Proposal owners:
  • Other developers: N/A
  • Release engineering: #9935 (a check of an impact with Release Engineering is needed)
  • Policies and guidelines: N/A
  • Trademark approval: N/A
  • Alignment with Objectives:

Upgrade/compatibility impact

No impact.

How To Test

  1. Install ibus-gtk4 and gtk4-devel packages.
  2. Enable an input method engine
  3. Run gtk4-demo
  4. Select "Entry" -> "Completion" in the left pane
  5. Click "Run" button in the top
  6. Focus on the input entry and type a language string.
  1. Log into non-GNOME desktop likes XFCE4 desktop
  2. Run ibus-setup
  3. Select "Input Method" tab
  4. Click "Add" button and launch "Select an input method" dialog
  5. Select "⋮" item in the language list and show the search entry
  6. Type an input method name in the entry likes "anthy" or "hangul"


User Experience

Just launch GTK4 applications if the IBus setup is done.

Dependencies

N/A

Contingency Plan

  • Contingency mechanism: Revert the change to IBus.
  • Contingency deadline: Beta release
  • Blocks release? No
  • Blocks product? None

Documentation

TBD

Release Notes