Red Hat Bugzilla – Bug 494774
[kbabel] XIM gives random text insertion from input method
Last modified: 2014-01-21 02:02:25 EST
Description of problem:
When typing Japanese, displaying the candidates, choosing the candidate to suit and enter to decide, then it appears unexpected place randomly regardless the position of the cursor.
Version-Release number of selected component (if applicable):
RHEL5.3 and Kbabel1.11.4
Always it happens after first successful entering.
Japanese character(s) decided appears unexpected place randomly.
Japanese character(s) decided should appear where the cursor is positioned.
Kbabel1.11.4 works correct manner on RHEL5.2.
Noriko, can you test with the U2 scim and scim-bridge packages
to see if it is a scim regression?
A screenshot might be good too if available.
any testcases to reproduce that? just tried with the following packages and steps but it works for me:
1. msgunfmt /usr/share/locale/ja/LC_MESSAGES/im-chooser.mo > ja.po
2. run kbabel and open ja.po
3. remove a translation once and type again
for more information:
$ echo $XMODIFIERS
(Marco from helpdesk added.)
Marco, could you mind to help reproducing the problem?
(In reply to comment #4)
> any testcases to reproduce that? just tried with the following packages and
> steps but it works for me:
> 1. msgunfmt /usr/share/locale/ja/LC_MESSAGES/im-chooser.mo > ja.po
> 2. run kbabel and open ja.po
> 3. remove a translation once and type again
> for more information:
> $ echo $XMODIFIERS
Dear Noriko, Team,
I am npot able to reproduce the issue without your help.
My laptop is here in the BNE office which has been configured as per the troubled setup. Please let me know whom it needs to be demoed to.
If need be, I could install some desktop recording software, which could visually capture the problem though I would still need your input for this. I could also make a sysreport snapshot of that system so that the package information is available.
This is a known issue with XIM and kbabel.
You need to use scim-qtimm for correct input commits in kbabel.
a known issue? hmm, tried this again with QT_IM_MODULE=xim or without scim-qtimm though, it works for me.
Anyway please give us a testcase to reproduce this.
Okay, I can confirmed here. well, apparently it looks like not updating the caret position when moving cursor. so always inserting a text after the last caret position where committed last time. we need to narrow down which qt or scim is causing.
for a workaround, it works as expected after turning off/on IM.
I have tested this issue again with kinput2 and it works fine. apparently this issue happens only with scim and Qt applications.
Could this be work around by disable "Embed Preedit String into clinet window" option in the scim-setup dialog?
The option is in the "FrontEnd" => "Global Setup" page.
I suspect the reporter is no longer using RHEL5...
Anyone able to test the workaround?
Long time without response, close bug.