<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 (and replace) by format does not find anything (in some cases)"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126527">126527</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>find (and replace) by format does not find anything (in some cases)
          </td>
        </tr>

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

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

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

        <tr>
          <th>OS</th>
          <td>Linux (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>stephane.guillou@member.fsf.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Using "Find and Replace > Format..." does not work in a new document, when
looking for text formatted in a certain way. It does however work in other
documents.

Steps to Reproduce:
1. Open attachment new_doc.odt (brand new document created with LibreOffice)
2. Find and Replace > Format... > Font Effects > Strikethrough > Single
3. Click "OK"
4. Click "Find all"

Actual Results:
The words that are strikethrough are not selected

Expected Results:
Nothing was found


Reproducible: Always


User Profile Reset: No



Additional Info:
The same steps done in preexisting_doc.odt work as expected for some reason.
This file used to be an RTF document, that had (possibly) been edited with
Microsoft Office at some stage.

Not sure how to consistently create a document in which the format search will
work.

Tested with:

Version: 6.2.5.2
Build ID: 1:6.2.5-0ubuntu0.18.04.1~lo1
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-AU (en_AU.UTF-8); UI-Language: en-GB
Calc: threaded</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>