From Fedora Project Wiki

Intelligent Input Bus

Summary

iBus is a new input method framework under active development which is designed to overcome the limitations of SCIM.

iBus uses dbus protocol for communication between the ibus-daemon and clients (engines, panel, config tools). Since the components run in separate processes there is enhanced modularity and stability. Client processes can be loaded, started and stopped independently. iBus supports Gtk2, Qt4, and XIM, and has input method engines for anthy, chewing, hangul, m17n, pinyin, and large tables. Engines and clients can be written in any language with a dbus binding.

Owner

Current status

  • Targeted release: Fedora 11
  • Last updated: 2008-01-19
  • Percentage of completion: 60%

Detailed Description

ibus was introduced in Fedora 10 as a new dynamic input method framework and also made available for Fedora 9 Updates.

Most of the work on ibus is being done upstream by Huang Peng. This feature proposal covers moving from scim to ibus as the default input method framework for Fedora 11, testing, and additional usability feature requirements for ibus.

ibus is designed to improve a number of deficiencies of scim:

  • The prototype is written in Python and the next version nearing completion currently is in C. Scim written in C++ using STL has problems with weak symbol conflicts with the added complexity and lower stability of the scim-bridge lower to workaround that.
  • It is possible to write Engines for ibus in any language that supports dbus bindings.
  • ibus loads Engines on demand rather than all installed engines as scim does, which improves the startup time and memory footprint.
  • scim loads Engines as dl-modules so a problem in any Engine can take down scim, whereas in ibus because the processes are separated only the one process will die leaving rest of the system working normally.
  • The design of ibus is bus-centric and so much closer to the CJK OSS forum Workgroup 3 draft Specification of IM engine Service Provider Interface architecture

Benefit to Fedora

It will provide a more stable viable input method framework with a simple clean architecture which will be easier to maintain, develop for and improve.

Scope

  1. Make ibus default for F11 Alpha (changes to comps). [done]
  2. Complete C implementation and updating of clients and engines for API changes for F11 Beta.
  3. Test thoroughly and fix any remaining issues for F11 Final.

Test Plan

  1. Test installs of F11 and check ibus packages installed
  2. Test functioning on GNOME, KDE, and other desktops.
  3. Actively fix any bugs reported and issues that arise.
  4. Work with Fedora QA to ensure that we have no major regressions.

Open ibus bugs

User Experience

  1. Better performance since ibus only loads the input method engines it needs at start.
  2. Stability from simpler architecture without need to avoid symbol conflicts from using C++ STL.

Dependencies

  • None

Contingency Plan

  • Revert comps to SCIM as default input method system.

Documentation

Release Notes

The change to ibus will be documented carefully in the I18N Docsbeat.

Comments and Discussion