Page 1 of 1

Bug in Korean input

Posted: Thu Nov 15, 2012 11:05 am
by silversoul
When deleting back midst of Korean IME input(not completing), Akelpad edit control leaves one '' instead of clearing. (HEX 1B)

Posted: Fri Nov 16, 2012 5:38 am
by Instructor
silversoul
Can you make demontration with screenshots or video?

images...

Posted: Thu Nov 22, 2012 12:28 pm
by silversoul
Before input
Image

Typing Korean consonant 'ㄱ', IME entered, IME waits for continuing vowel input:
Image

Typing backspace, cancelling before full letter construction:
Image



When after 'ㄱ', Korean vowel 'ㅏ' and consonant 'ㄴ' have been typed, IME considers '가' is completed and continue waiting with 'ㄴ':
Image

And backspace:
Image

And backspace:
Image

And again. Completed letter (가) does not make residue.:
Image

Posted: Thu Jan 24, 2013 7:43 am
by Instructor
silversoul
If I understand correctly: since letter '가' is completed its erased with backspace. Or if not: can you write what result do you expect?

Desired

Posted: Sat Apr 13, 2013 1:34 pm
by silversoul
While building letter, each Vowels(cf.'ㄱ') and Consontants(cf.'ㅏ') are deleted by every BKSP hit. When IME completes its construction of letter(complex)(cf.'가'), it is regarded as one character block and deleted letter by letter.

Therefore, it should be like this:
'ㄱ' -> 'ㄱ' (currently: 'ㄱ')
'ㄱ' + BKSP -> '' (currently : arrow character)
'ㄱ' + 'ㅏ' -> '가' (currently : '가')
'ㄱ' + 'ㅏ' + BKSP -> 'ㄱ' (currently : 'ㄱ')
'ㄱ' + 'ㅏ' + BKSP + BKSP -> '' (currently : arrow character)

source

Posted: Sat Apr 13, 2013 1:51 pm
by silversoul
I don't know why, but I found wParam of AE_EditProc handles 0x1b when lParam=GCS_COMPSTR & BKSP deletes to letter 'none'.
Surely, the message sent is WM_IME_COMPOSITION.