Share

Smart Common Input Method platform

Tracker: Bugs

5 scim-1.4.4 breaks kanji input in terminals - ID: 1543409
Last Update: Settings changed ( suzhe )

Hi,

There's been a bug report on the Gentoo Bugzilla about
a regression between scim 1.4.3 and 1.4.4 where
scim-anthy stops being able to input kanji in the terminal.

A user has suggested that it may have to do with
changes in the IMEngine and he posted a patch there
which I am attaching.

I do not know the code so I cannot evaluate it, but I
hope you can take a look and give some advice about it.

For reference, the Gentoo bug is here:

http://bugs.gentoo.org/show_bug.cgi?id=142056

And the attachment is also here:

http://bugs.gentoo.org/attachment.cgi?id=93723

Thanks,

Alastair


Alastair Tse (liquidx) ( liqx ) - 2006-08-20 10:06

5

Closed

Fixed

James Su

IMEngine: Core

None

Public


Comments ( 2 )

Date: 2007-03-14 20:41
Sender: galt_gendo


First, I want to say that I was the orginal bug reporter (to gentoo
bugzilla).
Few weeks ago, I checked this fix and it seemed to work fine, however it
suddenly stopped working again. This time I went through several rounds of
"scim -d/kill <correct pids>" and came to following conclusion:
after applying this patch I checked RawCodeFactory::RawCodeFactory ()
- set_locales (__rawcode_locales); doesn't work
- set_languages (__rawcode_locales); works correctly

Well, I'll try to find the problem as it now moves to a different file
(the one defining set_locales and set_languages), but no promises.


Date: 2006-11-22 02:51
Sender: juhp


How about this patch:

--- scim-1.4.5/modules/IMEngine/scim_rawcode_imengine.cpp~ 2006-11-22
12:49:27.000000000 +1000
+++ scim-1.4.5/modules/IMEngine/scim_rawcode_imengine.cpp 2006-11-22
12:49:27.000000000 +1000
@@ -50,7 +50,7 @@

static Pointer <RawCodeFactory> __rawcode_factory;

-static String __rawcode_locales
("zh_CN.GB18030,zh_CN.GBK,zh_CN.GB2312,zh_TW,zh_TW.EUC-TW,zh_HK,ja_JP,ja_JP.sjis,ko_KR,en_US.UTF-8");
+static String __rawcode_locales =
"zh_CN.GB18030,zh_CN.GBK,zh_CN.GB2312,zh_TW,zh_TW.EUC-TW,zh_HK,ja_JP,ja_JP.sjis,ko_KR,en_US.UTF-8";

static std::vector<String> __rawcode_encodings;




Attached File ( 1 )

Filename Description Download
scim-imengine.patch scim-imengine.patch Download

Changes ( 4 )

Field Old Value Date By
status_id Open 2007-06-22 04:01 suzhe
resolution_id None 2007-06-22 04:01 suzhe
close_date - 2007-06-22 04:01 suzhe
File Added 189836: scim-imengine.patch 2006-08-20 10:06 liqx