<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 - Ctrl+F should highlight the previously searched text, for easy replacement"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=136161">136161</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Ctrl+F should highlight the previously searched text, for easy replacement
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.0.0.3 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>Calc
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>ddascalescu+freedesktop@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I think this is a regression vs. Calc v6. Reproduction steps:

1. In a sheet, press Ctrl+F
2. Type "old text"
3. Press Enter. The text will or won't be found - doesn't matter.
4. Press Esc. (Here, the user would perform other operations in the sheet)
5. Press Ctrl+F again.
6. Type "new text"

Expected result:
"new text" is the text to search for, replacing "old text"

Actual result:
The search text is "new textold text"

By contract, the Find and Replace dialog behaves as expected. If you press
Ctrl+H at step 5, the "old text" WILL be selected, and typing "new text" will
replace it.

Also, if you skip Step 4 (pressing Esc) and press Ctrl+F again at Step 5, the
"old text" WILL be selected.

I think Ctrl+F should select the search text every time.</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>