Description of problem: Unable to commit characters in Chinese simplified (Wubi) when pressing Enter. However, the same characters are committed using space. Version-Release number of selected component (if applicable): scim-tables-chinese-0.5.7-1.fc7 scim-1.4.4-35.fc6 How reproducible: Everytime when trying to commit chars with "enter" Steps to Reproduce: 1. Open gedit, select simplified chinese > wubi 2. press "l" & press "enter" 3. "l" is committed to gedit. Instead its chinese representation (国) should have been comitted. Actual results: l Expected results: 国 Additional info:
This happens for pinyin entry method too. I keep expecting Enter to work, since it does with the Windows IME.
FYI in Changjie, Space is used to be the commit Key. I am not sure if there would be appropriate to trigger a feature request to customize the commit key for scim-tables, or scim-tables-chinese.
Using space for commit is pretty standard for Chinese: I think it is a matter of habit... :) You could try requestinging upstream to have the commit keys be made configurable. For scim-tables if you really want to override Space you can copy the table .txt to your personal scim folder and change the commit key in the table file and recompile the table with scim-make-table.
*** Bug 214957 has been marked as a duplicate of this bug. ***
This is not about overriding Space as I don't want to change Space's function. I'm talking about what Enter does. I'm proposing that Enter does a commit in addition to space, because the present behaviour of Enter is not useful to anyone and violates the Principle of Least Surprise.
Shawn, what do you think about this?
I think most Chinese just use [space] as a commit key, however I went through the table.txt, it has a value COMMINT_KEYS. It can specify more than one keys. If one user want to add a new commit key, he can recreate it by self.
I searched every file of every scim-related package on my machine for COMMINT_KEYS: rpm -q -a | grep scim scim-tables-chinese-0.5.6-3.2.fc5 scim-pinyin-0.5.91-4.5.fc5 scim-1.4.4-9.8.fc5 scim-libs-1.4.4-9.8.fc5 scim-tables-0.5.6-3.2.fc5 for pkg in $(rpm -q -a | grep scim); do rpm -q -l $pkg | grep COMMINT_KEYS | sed -e "s/^/$w: /g" done No matches :-( I also tried searching for "COMMIT_KEYS". Can you point me to where I can find more info? Thank you. (Still being driven crazy by Enter not being useful)
Sorry! It should be COMMIT_KEYS. It is not included in the binary rpm files. It's included in src.rpm. If you want to change the COMMIT_KEYS, you should get a source of scim-tables-chinese-*.rpm. It includes wubi input tables. In the table, you will find COMMIT_KEYS. The table will be translate to a binary table when build. You should change COMMIT_KEYS's value and rebuild it. BTW, the [Return] key have been defined as FORWARD_KEYS in wubi table, you should change it too.
*** This bug has been marked as a duplicate of 216100 ***