<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 - find-replace - when cursor is in comment box, focus and cursor returns to page in document with comment, after clicking in document"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=136885">136885</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>find-replace - when cursor is in comment box, focus and cursor returns to page in document with comment, after clicking in document
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>Writer
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>sdc.blanco@youmail.dk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=165675" name="attach_165675" title="Test document with steps to reproduce bug included in comment box">attachment 165675</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=165675&action=edit" title="Test document with steps to reproduce bug included in comment box">[details]</a></span>
Test document with steps to reproduce bug included in comment box

Test document attached - or use a multi-page document with at least one
comment.

1.  Place cursor in comment box.
2.  Find-and-replace (Ctrl-H)
3.  Search for anything that is on another page.
4.  Click cursor in the found page (e.g., on the found word, or elsewhere in
that page).

Actual behavior:  Cursor is returned to the page where the comment box appears.

Expected behavior:  Cursor remains where clicked.

Additional information.

1.  The cursor returns on a line a few lines from the top of the comment box
and seems take the same horizontal position in the canvas where clicked.

2. Related to <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - cursor focus remains in comment box, even when find-replace finds text in document body"
   href="show_bug.cgi?id=121478">bug 121478</a>, but not exactly the same behavior. In that case, ESC,
out of the Find-Replace dialog returns the cursor to the comment box. In this
case, the cursor returns to the document page with the comment.

Produced with 6.3.6.2 and 7.0.0.0.beta2</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>