Bug 64674 - [GTK] Korean Hangul can't be typed when contentEditable is true and designMode is on
Summary: [GTK] Korean Hangul can't be typed when contentEditable is true and designMod...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: http://html5demos.com/contenteditable
Keywords: HTML5
Depends on: 84556
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-17 18:35 PDT by Joone Hur
Modified: 2017-03-11 10:47 PST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joone Hur 2011-07-17 18:35:29 PDT
There seems a conflict when we set contentEditable and designMode at the same time.
Chrome browser has a similar problem on Linux.
Comment 1 Hironori Bono 2011-07-18 23:52:16 PDT
Greetings,

It seems this page changes the input focus while Editor::setComposition() sets the composition text. When moving the input focus, the FocusController class calls EditorClient::willSetInputMethodState() and EditorClient::setInputMethodState(). Unfortunately, several platforms (such as GTK, Win, and Chromium) finish the ongoing composition when the FocusController calls one of these functions. (Even though I have once added a workaround for this issue to Chromium, someone removed it somewhere between r50576 and r50677.)

(*1) http://commondatastorage.googleapis.com/chromium-browser-continuous/index.html?path=Win/50576/
(*2) http://commondatastorage.googleapis.com/chromium-browser-continuous/index.html?path=Win/50677/

It may be a better idea to prevent the FocusController class from calling these functions while updating composition text rather than to add my old workaround to all platform code? (This issue happens on all platforms that implement either of the above functions as noted above.)

Regards,

Hironori Bono