Red Hat Bugzilla – Bug 214955
Chinese input should allow commit with Enter too
Last modified: 2007-11-30 17:11:48 EST
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):
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.
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
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
for pkg in $(rpm -q -a | grep scim); do
rpm -q -l $pkg | grep COMMINT_KEYS | sed -e "s/^/$w: /g"
No matches :-(
I also tried searching for "COMMIT_KEYS".
Can you point me to where I can find more info?
(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
*** This bug has been marked as a duplicate of 216100 ***