[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
Mon Jan 24 02:19:45 PST 2011


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





--- Comment #16 from Kenichi Ishibashi <bashi at google.com>  2011-01-24 02:19:44 PST ---
Hi,

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?

(In reply to comment #15)
> (In reply to comment #13)
> > Thank you for the information and suggestion. I agree with you adding a test for this problem, but unfortunately, DRT doesn't provide functions for testing this problem except for Chromium port for now. Would it be worth adding functions for this problem in other ports?
> 
> I agree with Darin that adding such features to DRT will be worthwhile.  Even if you could not implement it for all ports for now, implementing it for Mac & Windows ports will give us much greater coverage.

-- 
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