Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: ANTHY_HISTORY_FILE record only a single word
https://bugzilla.redhat.com/show_bug.cgi?id=508358
Summary: ANTHY_HISTORY_FILE record only a single word Product: Fedora Version: 11 Platform: All OS/Version: Linux Status: NEW Severity: medium Priority: low Component: anthy AssignedTo: tagoh@redhat.com ReportedBy: masanari_iida@hp.com QAContact: extras-qa@fedoraproject.org CC: tagoh@redhat.com, fedora-i18n-bugs@redhat.com Estimated Hours: 0.0 Classification: Fedora Target Release: ---
Description of problem: If one set ANTHY_HISTORY_FILE, anthy should record all inputs. But currently anthy record only if I input a single word.
Version-Release number of selected component (if applicable): anthy-9100h-4.fc11.i586
How reproducible: Always
Steps to Reproduce: 1. Set following into .bash_profile. export ANTHY_HISTORY_FILE=~/.anthy_history 2. login to the account 3. Input Japanese words and convert.
3a. Watashi no namae ha nakano desu. (My name is nakano) 3b. nakano
Actual results: 3a. Nothing recorded into .anthy_history 3b. A word nakano is recorded into .anthy_history
Expected results: Both 3a and 3b cases should be recorded.
Additional info: In order to record corpus when I input Japanese, this function should be work as expected.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=508358
--- Comment #1 from masanari iida masanari_iida@hp.com 2009-06-26 13:46:13 EDT --- Created an attachment (id=349589) --> (https://bugzilla.redhat.com/attachment.cgi?id=349589) Bad sample anthy_history file
Bad anthy_history file which record only single word convert result. The file is EUC-JP.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=508358
Akira TAGOH tagoh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag| |needinfo?(masanari_iida@hp. | |com)
--- Comment #2 from Akira TAGOH tagoh@redhat.com 2009-06-29 22:19:58 EDT --- Are you using ibus right?
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=508358
masanari iida masanari_iida@hp.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag|needinfo?(masanari_iida@hp. | |com) |
--- Comment #3 from masanari iida masanari_iida@hp.com 2009-06-29 22:28:38 EDT --- Yes. Both ibus and anthy are from fedora 11 repo.
When I was using Fedora Core 5, I remember that ANTHY_HISTORY_FILE worked with scim-anthy + anthy. And when I am using RHEL5, ANTHY_HISTORY_FILE works with scim-anthy + anthy.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=508358
Akira TAGOH tagoh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |petersen@redhat.com, | |phuang@redhat.com Component|anthy |ibus-anthy AssignedTo|tagoh@redhat.com |petersen@redhat.com
--- Comment #4 from Akira TAGOH tagoh@redhat.com 2009-06-29 22:39:16 EDT --- Right. it works with scim-anthy on even F-11. the problem is, ibus-anthy doesn't always calls anthy_commit_segment() when commit the preedit, where invokes anthy_save_history().
Reassigning to ibus-anthy.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=508358
--- Comment #5 from masanari iida masanari_iida@hp.com 2009-07-01 09:32:52 EDT --- This symptom reproduce with following ibus
$ rpm -qa |grep ibus- ibus-m17n-1.1.0.20090211-5.fc11.i586 ibus-hangul-1.1.0.20090328-2.fc11.i586 ibus-chewing-1.0.10.20090523-2.fc11.i586 ibus-libs-1.1.0.20090612-1.fc11.i586 ibus-anthy-1.1.0.20090603-1.fc11.i586 ibus-1.1.0.20090612-1.fc11.i586 ibus-rawcode-1.0.0.20090303-3.fc11.i586 ibus-gtk-1.1.0.20090612-1.fc11.i586
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=508358
--- Comment #6 from fujiwara tfujiwar@redhat.com 2009-07-15 05:25:40 EDT --- Created an attachment (id=353801) --> (https://bugzilla.redhat.com/attachment.cgi?id=353801) Patch for engine/engine.py
Hmm.., I cannot enable $ANTHY_HISTORY_FILE with scim-anthy but I could see the problem with ibus-anthy in fedora 11. I'm not sure if I tried it correctly.
anthy_commit_segment() sets seg->committed = c and commit_all_segment_p() checks all segments has the right seg->committed .
The suggested patch assigns each committed value.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=508358
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |tfujiwar@redhat.com
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=508358
--- Comment #7 from masanari iida masanari_iida@hp.com 2009-07-15 11:05:54 EDT --- $ rpm -qf /usr/share/ibus-anthy/engine/engine.py ibus-anthy-1.1.0.20090603-1.fc11.i586
I have modified /usr/share/ibus-anthy/engine/engine.py file, and now ANTHY_HISTORY_FILE works as expected.
Thanks for the fix
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=508358
--- Comment #8 from masanari iida masanari_iida@hp.com 2009-07-23 02:26:46 EDT --- upstream also fix this bug. http://github.com/phuang/ibus-anthy/commit/5f6fabc10d33a9bee0de43d851d20b666...
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=508358
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|11 |rawhide
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=508358
Huang Peng phuang@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
--- Comment #9 from Huang Peng phuang@redhat.com 2009-08-04 02:00:30 EDT --- Fixed in ibus-1.2.0.20090804-1.fc12
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=508358
Takanori MATSUURA t.matsuu@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |t.matsuu@gmail.com
--- Comment #10 from Takanori MATSUURA t.matsuu@gmail.com 2009-08-04 08:18:45 EDT --- *** Bug 514112 has been marked as a duplicate of this bug. ***
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=508358
--- Comment #11 from Fedora Update System updates@fedoraproject.org 2009-08-14 02:01:36 EDT --- ibus-anthy-1.1.0.20090814-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/ibus-anthy-1.1.0.20090814-1.fc11
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=508358
--- Comment #12 from Takanori MATSUURA t.matsuu@gmail.com 2009-08-14 02:29:53 EDT --- (In reply to comment #11) As far as I have tested, ibus-anthy-1.1.0.20090814-1.fc11 fixes this bug.
Thanks.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=508358
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #13 from Fedora Update System updates@fedoraproject.org 2009-08-15 04:23:25 EDT --- ibus-anthy-1.1.0.20090814-1.fc11 has been pushed to the Fedora 11 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: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-8610
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=508358
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mhiramat@redhat.com
--- Comment #14 from fujiwara tfujiwar@redhat.com 2009-08-23 20:50:17 EDT --- *** Bug 518563 has been marked as a duplicate of this bug. ***
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=508358
--- Comment #15 from Fedora Update System updates@fedoraproject.org 2009-08-28 18:00:27 EDT --- ibus-anthy-1.1.0.20090814-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=508358
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version| |1.1.0.20090814-1.fc11 Resolution| |ERRATA
i18n-bugs@lists.fedoraproject.org