Bug 643291 - ibus-anthy commit_first_segment is not correct with Ja small chars.
Summary: ibus-anthy commit_first_segment is not correct with Ja small chars.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus-anthy
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-15 07:45 UTC by fujiwara
Modified: 2010-10-27 22:40 UTC (History)
4 users (show)

Fixed In Version: ibus-anthy-1.2.3-2.fc13
Clone Of:
Environment:
Last Closed: 2010-10-18 05:41:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description fujiwara 2010-10-15 07:45:36 UTC
Imported the bug description:
http://www.mail-archive.com/anthy-dev@lists.sourceforge.jp/msg00254.html

commit_first_segment and commit_selected_segment are not correct.

Comment 1 fujiwara 2010-10-15 07:56:46 UTC
http://github.com/fujiwarat/ibus-anthy/commit/609de132807b7c36b9db3ad16905b908f877f67e

There are two problems.
One is engine.jastring.move_cursor() expects the segment lengths but commit_nth_segment() sends char lengths. I added move_cursor_hiragana_length() to convert segment lengths to char lengths.
Another is commit_nth_segment() uses self.__segments[] but it doesn't return all preedit text. I replaced self.__segments[] with self.__get_preedit .

Will release a new tarball.

Comment 3 Fedora Update System 2010-10-15 10:25:20 UTC
ibus-anthy-1.2.2.20101015-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/ibus-anthy-1.2.2.20101015-1.fc14

Comment 4 Fedora Update System 2010-10-15 10:25:33 UTC
ibus-anthy-1.2.2.20101015-1.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/ibus-anthy-1.2.2.20101015-1.fc13

Comment 5 Fedora Update System 2010-10-15 19:07:41 UTC
ibus-anthy-1.2.2.20101015-1.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-anthy'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/ibus-anthy-1.2.2.20101015-1.fc14

Comment 6 Fedora Update System 2010-10-18 05:40:56 UTC
ibus-anthy-1.2.3-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2010-10-27 22:40:04 UTC
ibus-anthy-1.2.3-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.