<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Embedded LibreOffice does not properly get focus"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=111855">111855</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Embedded LibreOffice does not properly get focus
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.1.4.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>philipp.schaefer@godyo.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=135585" name="attach_135585" title="example">attachment 135585</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=135585&action=edit" title="example">[details]</a></span>
example

We embed LibreOffice into an Eclipse SWT application using noa-libre
(<a href="https://github.com/LibreOffice/noa-libre">https://github.com/LibreOffice/noa-libre</a>). After switching to LO5 from LO3 we
encountered a bug with LibreOffice getting the focus from clicking into it.

When a users first action is selecting some text with the mouse after a fresh
embedded LO window is created and a document is opened, then the text will be
visually marked as selected but subsequent keyboard events (e.g. Ctrl-V or just
a letter) do not seem to reach LibreOffice.

We created a MVCE in Form of an Eclipse Projekt with a very stripped down
version of noa-libre (see attached zip-File).

If it had not worked with LO3, we had assumed it is a problem with the
SWT-AWT-Bridge. Since it did, we felt this might be the right place to report
it.</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>