raw_char field in B_KEY_DOWN message when using input method
|Reported by:||hiron||Owned by:||nobody|
In pe editor, when I input Japanese characters by IM (input method), pe says "An OS error occurred: Name not found" and no characters are displayed. This is because pe checks the existance of "raw_char" field in a B_KEY_DOWN message (in PText::KeyDown()):
On BeOS R5, I got 0x0a as "raw_char" value in B_KEY_DOWN message. I don't know why 0x0a is used but I never got other value on inputting text by IM.
On Haiku, BottomlineWindow for non-input-method-aware views doesn't put "raw_char" field in B_KEY_DOWN message. I tried to put it (as attached patch) and pe worked well this time.
Is this behavior intended one? : there may not be "raw_char" field in B_KEY_DOWN message. If so, it's not a Haiku's bug but a pe's.