Bug 654322

Summary: ibus-anthy doesn't load romaji_typing_rule settings correctly
Product: [Fedora] Fedora Reporter: Watanabe, Yuki <magicant.starmen>
Component: ibus-anthyAssignee: fujiwara <tfujiwar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: i18n-bugs, shawn.p.huang, tagoh, tfujiwar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ibus-anthy-1.2.4-4.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-24 22:40:07 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:

Description Watanabe, Yuki 2010-11-17 15:21:40 UTC
Description of problem:
When ibus-anthy starts up, it does not correctly load the romaji key table (ローマ字キーテーブル) settings from the ~/.gconf/desktop/ibus/engine/anthy/romaji_typing_rule/default/%gconf.xml file.
Settings made in the config dialog seem to be properly saved in the file, but when ibus-anthy is restarted, some romaji-kana mappings add by the user are lost.

Version-Release number of selected component (if applicable):
ibus-anthy-1.2.4-3.fc14.i686

How reproducible:
I tried the reproduce steps below three times and the bug was reproducible for all the times.

Steps to Reproduce:
1. Remove ~/.gconf/desktop/ibus/engine/anthy/romaji_typing_rule and log out from and log in to the gnome session. (ensure gconf is restarted)
2. Open ibus-anthy's config dialog and add the following two romaji-kana mappings:
  kwa -> くゎ
  kwi -> くぃ
3. Type "kwakwi" in a text editor and we get "くゎくぃ" correctly.
4. Restart ibus from the right-click menu of the ibus icon.
5. Type "kwakwi" in a text editor again and we get "くゎkうぃ" this time.
  
Additional info:
Note that "kwa" has the default mapping to "くぁ" while "kwi" has no default mapping. It seems that romajis without default mappings are not correctly loaded from the config file.

May be related with bug #652881.

Comment 1 fujiwara 2010-11-22 11:01:46 UTC
Thanks for filing the bug.

I didn't notice anthyprefs doesn't get the new keys.

I'll integrate the following fix into f14 soon:
https://github.com/fujiwarat/ibus-anthy/commit/1715a0eb3791fbb35ecb6910142271ddc7cc357a

Comment 2 Fedora Update System 2010-11-23 10:28:11 UTC
ibus-anthy-1.2.4-4.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/ibus-anthy-1.2.4-4.fc14

Comment 3 Fedora Update System 2010-11-23 21:53:11 UTC
ibus-anthy-1.2.4-4.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.4-4.fc14

Comment 4 Fedora Update System 2010-11-24 22:39:58 UTC
ibus-anthy-1.2.4-4.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.