Bug 711126
Summary: | ibus: surrounding text support fails for the first syllable upon activation | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Harshula Jayasuriya <harshula> | ||||
Component: | ibus-m17n | Assignee: | Daiki Ueno <dueno> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 15 | CC: | dueno, i18n-bugs, shawn.p.huang | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | ibus-m17n-1.3.2-5.fc15 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-06-24 17:55:55 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Harshula Jayasuriya
2011-06-06 15:58:11 UTC
Sorry for inconvenience. When I replaced a local surrounding-text patch with the upstream one, I dropped Fedora specific code by mistake. Koji build: http://koji.fedoraproject.org/koji/taskinfo?taskID=3115152 Could you test it? Installing ibus-m17n-1.3.2-4.fc15.x86_64 and restarting IBus, I could still reproduce the bug. My guess is that the first surrounding text operation fails. OK probably I got it. Currently ibus turns on surrounding-text support first time when the engine requests surrounding-text, and I suspect si-phonetic-dynamic does not request surrounding-text until it is really needed (i.e. when "o" is pressed). Other m17n engines, such as wijesekera, have no problem with it since it checks surrounding-text in the init state of MIM. I'll consider what fix is better. (BTW I think this is not that urgent since it happens only the first time the engine requests surrounding-text. I'll lower the priority/severity to normal). Created attachment 503387 [details]
workaround to request surrounding-text in advance
I figured out that this cannot be easily fixed in ibus side. Couldn't it fixed in MIM files (patch attached to comment 4)? Do you know any other MIMs which have similar problems? (In reply to comment #4) > Created attachment 503387 [details] > workaround to request surrounding-text in advance Does that work for you? I just get English letters. correction ... it does work for me. Send your patch to m17n folks and explain why and see what they think. I'm going to fix this by adding a dummy ibus_engine_get_surrounding_text() call in ibus_m17n_engine_enable(). Koji build: http://koji.fedoraproject.org/koji/taskinfo?taskID=3131687 Could you test again? I backed out the patch to the MIM, restarted IBus. I can not reproduce the bug with the latest build of ibus-m17n. Thanks! ibus-m17n-1.3.2-5.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/ibus-m17n-1.3.2-5.fc14 ibus-m17n-1.3.2-5.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/ibus-m17n-1.3.2-5.fc15 Package ibus-m17n-1.3.2-5.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ibus-m17n-1.3.2-5.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/ibus-m17n-1.3.2-5.fc15 then log in and leave karma (feedback). ibus-m17n-1.3.2-5.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. ibus-m17n-1.3.2-5.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |