<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>64674</bug_id>
          
          <creation_ts>2011-07-17 18:35:29 -0700</creation_ts>
          <short_desc>[GTK] Korean Hangul can&apos;t be typed when contentEditable is true and designMode is on</short_desc>
          <delta_ts>2017-03-11 10:47:19 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://html5demos.com/contenteditable</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HTML5</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>84556</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joone Hur">joone.hur</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>hbono</cc>
    
    <cc>joone</cc>
    
    <cc>rniwa</cc>
    
    <cc>ryuan.choi</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>438319</commentid>
    <comment_count>0</comment_count>
    <who name="Joone Hur">joone.hur</who>
    <bug_when>2011-07-17 18:35:29 -0700</bug_when>
    <thetext>There seems a conflict when we set contentEditable and designMode at the same time.
Chrome browser has a similar problem on Linux.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>438994</commentid>
    <comment_count>1</comment_count>
    <who name="Hironori Bono">hbono</who>
    <bug_when>2011-07-18 23:52:16 -0700</bug_when>
    <thetext>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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>