Project

General

Profile

Feature #5624

support various input methods

Added by Tails over 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Elevated
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Feature Branch:
winterfairy:bugfix/ibus
Type of work:
Code
Blueprint:
Starter:
No
Affected tool:

Description

When choosing an input method in "System" --> "Preferences" --> "Input Method Switcher", one is asked to restart the X session to apply the chosen settings. This is clearly unusable for most users.

Roadmap

  1. research the questions below in a Wheezy context.

Research

/usr/share/doc/im-switch/readme.debian.gz explains in great details how the input method configuration works.

  • What input method do we need to support? SCIM and/or uim and/or IBus?
  • Do we have to choose between e.g. uim and IBus?
  • How to have im-switch do the right thing in function of the chosen locale?
  • How hard is it to support starting the system in any given locale (such as US English), while keeping the possibility of using a specific input method (such as SCIM) on demand? (This usecase was reported by an actual user.)

Resources


Related issues

Related to Tails - Feature #6015: Tails based on Wheezy Resolved 07/28/2013
Related to Tails - Feature #5487: Replace SCIM with the Wheezy equivalent Resolved

History

#1 Updated by winterfairy about 6 years ago

  • Starter set to No

When choosing an input method in "System" --> "Preferences"
--> "Input Method Switcher", one is asked to restart the X session
to apply the chosen settings. This is clearly unusable for most users.

Try repointing "/etc/X11/xinit/xinput.d/all_ALL" to "/etc/X11/xinit/xinput.d/scim-immodule" when building Tails.

#2 Updated by winterfairy about 6 years ago

Answers to question under Reseach:

IBus will be used, and only IBus.

im-switch appears to not configure IBus, just start it. Therefore in my branch "bugfix/ibus-wheezy" in my "winterfairy/tails" repo, I have replaced im-switch with a simple script that does both.

This script also starts IBus configured when choosing any other locale that does not really need it. This way there is an applet in the panel there the user can enable the input method and start typing no matter selected locale. I default to Chinese input method in this case, but any other can be selected.

#3 Updated by intrigeri about 6 years ago

I seem to remember that the version of ibus shipped in Squeeze wasn't really up to the task, but hopefully I'm wrong.

#4 Updated by winterfairy about 6 years ago

You don't happen to remember what the issue was, so I know what to look for when testing?

#5 Updated by intrigeri about 6 years ago

You don't happen to remember what the issue was, so I know what to look for when testing?

No, sorry. Having a look at the Debian BTS might help, as could
looking for people advising SCIM against ibus or something for such
old distros.

#6 Updated by winterfairy about 6 years ago

I have searched the web, and have seen both people complaining ibus in unstable in squeeze, and other saying that ibus works good in contrary to scim in squeeze. My own testings didn't reveil any crashes or unexpected behaviour with ibus. But ibus does not hit bug #6206, which scim does.

Therefore, switched in "bugfix/ibus" for squeeze in my repo.

#7 Updated by intrigeri about 6 years ago

  • Assignee set to intrigeri
  • QA Check set to Ready for QA
  • Feature Branch set to winterfairy:bugfix/ibus

#8 Updated by intrigeri about 6 years ago

  • Type of work changed from Research to Code

#9 Updated by intrigeri about 6 years ago

  • Status changed from Confirmed to 11
  • Assignee deleted (intrigeri)
  • QA Check changed from Ready for QA to Pass

Merged into devel, pending for 0.22.

#10 Updated by intrigeri about 6 years ago

  • Status changed from 11 to Resolved

Fixed in 0.22.

Also available in: Atom PDF