Romaja hangeul commit behavior unclear, space does not operate as expected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nabi (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: nabi
I'm trying to use the Romaja method in nabi since I didn't grow up using a Korean keyboard and I'm learning Korean..... but when I press space after entering a hangeul, a space actually appears in addition to committing my last hangeul. so there is a space between every single hangeul i commit, which obviously causes a problem, because not each single hangeul on its own is necessarily a "word"
here's an example of where it would cause a problem: if I wanted to type "bag su chyeo":
박수쳐 (what i expect to commit: what it should be according to the real phrase and the syllables)
박숯혀 (if i don't press space at all and just "keep typing", possible ambiguous interpretation and not what i want)
박 수 쳐 (when i press space, correct but the undesired spaces are there)
Perhaps I simply don't know how to use the package, but I wasn't able to find documentation on specifying how to commit what I just entered. I can use the right arrow key but that's ergonomically uncomfortable; I find the space much easier. With scim I press space and it simply commits, not adds another space, so that's what I was used to. I'm not using scim because it has another bad focus bug in it.
I'm not sure if this applies to 2-bul and 3-bul, but at least for Romaja it causes a problem.
I came up with a patch that fixes it in the meantime. I don't claim to know anything about IMEs but I can confirm that it produces the desired behavior.
=======
Add space for commit ability. src/ic.c:~1980
/* PATCH: imitate scim: commit hangeul when space is pressed */
if (!nabi_
nabi_ic_flush(ic);
return True;
}
=======
Please consider this behavior for Romaja users.
tags: | added: hangeul hangul im ime nabi patch romaja |
tags: | added: commit space |
summary: |
- hangeul commit behavior unclear, space does not operate as expected + Romaja hangeul commit behavior unclear, space does not operate as + expected |
FYI, Romaja input is not for practical use by design. Your "patch" will break usual Hangul input. In the 2-bul or 3-bul Hangul IMEs, pressing space just works as you have seen; it just inputs space after the precomposed Hangul character. Space is never used for explicit commit key like what it does in Japanese or Chinese IMEs.