First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 142056
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: CJK Team <cjk@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Rafał Mużyło <galtgendo@o2.pl>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
xim-fix.diff fixes rawcode imengine problem affecting scim-anthy patch Rafał Mużyło 2006-08-07 22:00 0000 869 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 142056 depends on: Show dependency tree
Bug 142056 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-07-28 21:32 0000
First, list of packages:
app-i18n/anthy-7900
app-i18n/scim-1.4.4
app-i18n/scim-anthy-1.0.0
gcc-4.1.1
glibc-2.4-r3
2.6.17-gentoo-r4
sys-devel/binutils-2.16.1-r3

Now, the bug. A rather stange one. You see, after upgrade in the first three
packages, kanji input to terminals stoped working. Everything works fine for
firefox and other gtk apps, however the same is not true for both xterm and
urxvt, for them things work only up to the point, when you press Enter to
commit
selected kanji (kanji conversion seems to work), then instead of a kanji a char
sequence, often a one containing escape sequences, is input to the terminal.
Both of those terminals handle kanji correctly, I can paste them without any
problem.

------- Comment #1 From Andreas Klauer 2006-08-02 00:34:15 0000 -------
Same here. xterm/urxvt/OpenOffice (all XIM applications as far as I know) are
affected the same way by this problem. SCIM input window comes up and displays
kana/kanji correctly, but when I hit enter, only unknown control sequences get
inserted into the application. Input works great in GTK apps and I can
copy&paste Japanese text into xterm/urxvt/OpenOffice without problems.

------- Comment #2 From Rafał Mużyło 2006-08-05 22:56:54 0000 -------
Ok, more info.
It's a bug in scim 1.4.4, 1.4.3  works, cvs of scim still doesn't.
The bug lies in rawcode imengine, disabing it makes 1.4.4 work, what's more
reverting the changes made in modules/IMEngine/  scim_rawcode_imengine.cpp and
scim_rawcode_imengine.h between 1.4.3 and 1.4.4 makes it work with rawcode
enabled.

PS. Somebody should change bug description to reflect this.

------- Comment #3 From Rafał Mużyło 2006-08-07 22:00:06 0000 -------
Created an attachment (id=93723) [edit]
fixes rawcode imengine problem affecting scim-anthy

Final update, I think.
Attached is minimal reverting patch that makes things work.
It's a bit strange, cause set_languages calls set_locales.
It's probably a typo, but I can't figure it out - 
maybe there's some difference between String and unsigned char* 
I'm missing, maybe there's a bug in set_locales that's doesn't happen
when it's called by set_languages. As it's an upstream bug, somebody should
report it there.

------- Comment #4 From Andreas Klauer 2006-08-18 08:48:17 0000 -------
That patch indeed seems to fix the problem. Thank you!

------- Comment #5 From Alastair Tse (RETIRED) 2006-08-20 03:07:26 0000 -------
submitted this upstream

http://sourceforge.net/tracker/index.php?func=detail&aid=1543409&group_id=108454&atid=650539

------- Comment #6 From Rafał Mużyło 2006-10-10 09:01:57 0000 -------
Update for scim-1.4.5:
Bug is still there, fix still works.
Please consider adding to ebuild.

------- Comment #7 From MATSUU Takuto 2006-10-10 09:31:47 0000 -------
Fixed in cvs(1.4.5). thanks.

------- Comment #8 From Andreas Klauer 2007-01-09 21:54:29 0000 -------
I'm still suffering from this problem. I cannot input into xterm anymore with
scim-1.4.5(-r1), but strangely enough, downgrading to 1.4.4 fixes the problem.
This is on ~x86 Gentoo. I have no idea what is going on.

------- Comment #9 From Andreas Klauer 2007-01-09 22:14:34 0000 -------
Removing the scim-1.4.5-imengine.patch from scim-1.4.5-r1.ebuild fixed the
problem for me. *shrug*

------- Comment #10 From Rafał Mużyło 2007-01-26 19:00:51 0000 -------
I'm reopening this bug for somebody to close it for good.
As per comment nr 5, it was submited upstream on 2006-08-20 03:06.
As of 2006-11-21 18:51, a proposed patch was given by upstream.
As of today, I checked that patch and it seemms to work.
Somebody please double check it and if sucessful, take the upstream patch and
close it for good.

------- Comment #11 From Rafał Mużyło 2007-04-14 16:16:14 0000 -------
OK, sorry. I was wrong.
That upstream patch actually does NOT work. The actual problem is that for some
reason calling set_locales(string) doesn't work, while set_languages(string)
does.

------- Comment #12 From Rafał Mużyło 2007-04-28 17:18:59 0000 -------
Of all the silly things... Well, anyway...
As far as I can tell scim 1.4.6 is no longer affected by this bug.

------- Comment #13 From MATSUU Takuto 2007-07-07 03:42:08 0000 -------
fixed in 1.4.6.

First Last Prev Next    No search results available      Search page      Enter new bug