[Webkit-unassigned] [Bug 49523] IME candidate characters inserted unexpectedly to textarea which listens compositionupdate event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 17 00:15:34 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=49523





--- Comment #17 from Ryosuke Niwa <rniwa at webkit.org>  2011-02-17 00:15:34 PST ---
(In reply to comment #16)
> I've tried to adding the feature for mac, but I can't come up with how to implement it. I tried to almost the same approach as chromium: introducing a method that sends keydown event with keycode = 0xE5 , then invokes editor()->setComposition() by calling [textInput setMarkedText:selectedRange:], into TextInputController. However, it doesn't work as expected. When I call the introduced method with a string, I expect that DRT replaces the text of the textarea to given string, but it just appends the string..
> 
> Is there any way to emulate IME input behavior on DRT mac (and Windows) port?

Enrica, Dan, Darin, or Justin: do you know the answer to this question?  If adding the said feature to DRT is too hard, it might make sense to land the current patch as is.  Although I still want explanation as to why moving updateLayout from one place to another fixes the bug.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list