Red Hat Bugzilla – Bug 649230
[si] last input character is committed late in wijesekara input method
Last modified: 2010-11-15 11:47:48 EST
Description of problem:
in each work last character wont appear correctly till we press space or any other key
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. select wijesekara input method
2. type "අම්මා" key sequence is 'wuaud'
3. අ should appear once you press w
need to wait till next character to see the most last character entered
characters should appear once we type required keys..
'ම' can type using 'u'
but we have to pre 'uu' or any key after 'u'
Sounds a lot like Bug 614867, which should be fixed in F14.
To determine if it is an IBus bug or m17n bug. Run m17n-edit (LANG=c m17n-edit) and see if you can reproduce it. If you can't, then it is an IBus bug. m17n-edit is in the m17n-lib-tools RPM.
Easily reproduced on Live media - F13 seems ok but not F14.
I guess it is not m17n-db so moving to ibus-m17n while we triage.
Probably the same cause as #639253, which I postponed the fix to the next release since it requires update of ibus core.
Anyway here is a koji scratch build:
(Sorry, my comment 4 is pointless, please ignore)
I did some more tests and noticed that:
- This bug occurs only when the user "delete" a character in preedit. I can't reproduce it on the first time I input "wuaud", but if I type it again after 5 Backspaces, the problem is shown up.
- This can be reproduced even with ibus-m17n 1.3.0 (which is the base upstream version bundled in F-13) manually compiled from source.
- If I enable surrounding-text, the problem seems to go away.
I suspect there is a bug in preedit update code of the latest ibus.
Anyway the workaround is to enable surrounding-text from the setup dialog or adding the following lines to ~/.m17n.d/config.mic manually:
((input-method si wijesekera)
(use-surrounding-text nil 1)))
Hi Daiki, Can you reproduce in m17n-edit?
(In reply to comment #6)
> Hi Daiki, Can you reproduce in m17n-edit?
No, I can't. I tried to compare m17n-lib debugging output from both m17n-edit (correct behavior) and ibus-m17n (buggy behavior), when I typed "wuaud", BS 5 times, and type "wuaud" again, with MDEBUG_INPUT=1. However, the logs are almost identical.
Anyway I'm attaching them.
Created attachment 457672 [details]
MDEBUG_INPUT log from m17n-edit
Created attachment 457673 [details]
MDEBUG_INPUT log from ibus-m17n
(In reply to comment #9)
> Created attachment 457673 [details]
> MDEBUG_INPUT log from ibus-m17n
Got it - there is an "[IM] reset" line and it indicates that ibus-m17n engine instance is dissociated from minput context, and once switched to such a situation ibus-m17n cannot continue working with preedit correctly. Never tested but I guess that the old si-wijesekera.mim included in F-13 does not signal reset.
Fortunately this is already addressed by the upstream change:
I'm closing this with a new package including the fix.
ibus-m17n-1.3.1-6.fc14 has been submitted as an update for Fedora 14.
Could you please install following package and check if you can reproduce the issue?
I was unable to reproduce this on my system because I had m17n-db 1.6.2 version of Wijesekera and Renganathan installed.
Download the latest version from:
The respective patches that fix this are:
F14 has m17n-db 1.6.1 and should be updated to m17n-db 1.6.2.
its working. added comment on bodhi as well.
This issue seems fixed, but I am facing another problem, while using this
if I press d or e or like that character, then some time (randomly), it _stick_ to cursor and DEL and BKSP is not working to remove that, just press ALT+TAB and back to same application (where you are working), then it automatically went.
Anybody able to reproduce???
Alam, are you using both ibus-m17n-1.3.1-6.fc14 and si-wijesekera.mim from m17n-db 1.6.2 or from CVS?
(In reply to comment #16)
> Alam, are you using both ibus-m17n-1.3.1-6.fc14 and si-wijesekera.mim from
> m17n-db 1.6.2 or from CVS?
I used RPM, which has m17n-db-1.6.1 only in F14
(In reply to comment #17)
> I used RPM, which has m17n-db-1.6.1 only in F14
Grab the latest si-wijesekera.mim and see if you can reproduce the problem you are seeing:
Daiki confirmed that the original reported bug is also fixed by the latest si-wijesekera.mim in CVS.
ibus-m17n-1.3.1-6.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update ibus-m17n'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/ibus-m17n-1.3.1-6.fc14
(In reply to comment #18)
> (In reply to comment #17)
> > I used RPM, which has m17n-db-1.6.1 only in F14
> Grab the latest si-wijesekera.mim and see if you can reproduce the problem you
> are seeing:
> Daiki confirmed that the original reported bug is also fixed by the latest
> si-wijesekera.mim in CVS.
thanks it is working for above file.
Alam, maybe open another Bug against m17n-db 1.6.1 for the problem that you found?
ibus-m17n-1.3.1-6.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
tested! its fixed