<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 - Updating references displaces text cursor"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122728">122728</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Updating references displaces text cursor
          </td>
        </tr>

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

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

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

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

        <tr>
          <th>Reporter</th>
          <td>christianw_lehmann@arcor.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Text cursor is at position P. From the menu Tools, I choose Update and hit on
Update everything. When update finishes, the cursor is no longer at P and
instead at the position of the last item in the document which needed to be
updated (for instance, a final index of terms). 

Steps to Reproduce:
1. Set text cursor at some position P.
2. Choose Tools > Update > Everything.
3. Wait for Update to finish.

Actual Results:
After finishing, the text cursor is a the last item of the document that
contained a reference field.

Expected Results:
The cursor should be at P.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Like my previous report on autorecovery not running in the background, this
bug, too, is a (although unnecessary) consequence of LO programming not making
use of threads. If it did, updating references would run in the background,
letting me continue to work in the text. (And then, the menu option Tools >
Update would not even be needed, because updating fields and references would
continually be running in a separate background thread.)</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>