Feature #5624

support various input methods

Added by Tails 2013-07-18 07:43:40 . Updated 2013-12-11 08:13:42 .

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:
0
Affected tool:
Deliverable for:

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


Subtasks


Related issues

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

History

#1 Updated by winterfairy 2013-11-04 10:57:10

  • 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 2013-11-05 13:55:09

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 2013-11-06 09:40:51

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 2013-11-06 10:05:35

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

#5 Updated by intrigeri 2013-11-06 10:08:24

> 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 2013-11-07 02:02:00

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 Bug #6206, which scim does.

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

#7 Updated by intrigeri 2013-11-07 03:46:51

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

#8 Updated by intrigeri 2013-11-07 03:47:02

  • Type of work changed from Research to Code

#9 Updated by intrigeri 2013-11-07 04:39:01

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

Merged into devel, pending for 0.22.

#10 Updated by intrigeri 2013-12-11 08:13:42

  • Status changed from Fix committed to Resolved

Fixed in 0.22.