<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK][WK2] Expose GtkIMContext"
   href="https://bugs.webkit.org/show_bug.cgi?id=150390#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK][WK2] Expose GtkIMContext"
   href="https://bugs.webkit.org/show_bug.cgi?id=150390">bug 150390</a>
              from <span class="vcard"><a class="email" href="mailto:tpopela&#64;redhat.com" title="Tomas Popela &lt;tpopela&#64;redhat.com&gt;"> <span class="fn">Tomas Popela</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=150390#c6">comment #6</a>)
<span class="quote">&gt; Instead of explaining how evolution uses the IM context, it would be better
&gt; to explain what for. Understanding the use case is key to provide a good API.</span >

I already wrote that in the first post:

&quot;for saving the input history if inputs methods are active and for adding the input methods to the context menu&quot;

I will describe the first use case as: 
If there is an active input method and the user writes a text with it he usually needs to write a sequence of characters to get a desired character. The thing is that we have a callback on HTML &quot;input&quot; event, where we are saving the undo/redo history and this callback needs to be suppressed when there is active GtkIMContext's preedit phase.

The second case is self-explanatory.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>