<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:glogow@fbihome.de" title="Jan-Marek Glogowski <glogow@fbihome.de>"> <span class="fn">Jan-Marek Glogowski</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - kde5: KDE5 VCL plugin does not accept (CJK) inputs through input method"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121161">bug 121161</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - kde5: KDE5 VCL plugin does not accept (CJK) inputs through input method"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121161#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - kde5: KDE5 VCL plugin does not accept (CJK) inputs through input method"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121161">bug 121161</a>
              from <span class="vcard"><a class="email" href="mailto:glogow@fbihome.de" title="Jan-Marek Glogowski <glogow@fbihome.de>"> <span class="fn">Jan-Marek Glogowski</span></a>
</span></b>
        <pre>(In reply to Fuminobu TAKEYAMA from <a href="show_bug.cgi?id=121161#c6">comment #6</a>)
<span class="quote">> Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=147839" name="attach_147839" title="wrong candidate position & cursor does not move while pre-edit is shown">attachment 147839</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=147839&action=edit" title="wrong candidate position & cursor does not move while pre-edit is shown">[details]</a></span>
> wrong candidate position & cursor does not move while pre-edit is shown

> Great progress! Thank you.

> However there are still things to be implemented.

> - The position of candidate window of input method is not correct.
> LibreOffice need to send position of cursor to the input method.</span >

I'm testing with KDE5 and that works correctly here. When I type, the IM input
box is shown below the cursor. Compared to your IM input box my candidates are
shown left to right. No idea if this is configurable or depends on some
setting.

<span class="quote">> - The cursor does not move while pre-edit is shown. On the screen shot
> attached, the cursor should be at the end of line.</span >

I'm just trying to copy the behavior of the gtk3 backend. For me gtk3 and gtk
always keep the cursor at the start until you commit / select the candidate.
gen doesn't show a pre-edit here at all. FWIW for Qt5 the cursor position would
be easy enough to change, but I would like to get a general understanding, how
this is supposed to work.

Can you check if SAL_USE_VCLPLUGIN=gtk3 soffice shows a different behavior for
you?

(And always check "About Libreoffice" for the real VCL plugin in use.)

---

Now my setup is using fcitx. My input method is Shuangpin, where Google tells
me it's an input method for Chinese, which I don't know at all. I've just typed
anything on my German keyboard and checked that gtk3 is basically showing the
same behavior.

Anyway, IM input works as far as I can tell, which this bug report is about.

Please open new bug for those two new problems, otherwise this will eventually
become a never ending story where everyone adds their related bugs. Feel free
to add this bug to the "See also" list and add the KDE and CJK to the "blocks"
list.

And thanks for testing.</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>