While copyediting in a large ODT file, I have problems finding certain character strings that indeed are present in the file. I noticed this after doing a large series of text replacements using “Replace All” across the whole document – when done I thought a task was completed, but a few hours later I found out that at some places, the character strings that had been replaced elsewhere in the file had remained unchanged at other places.
A character string may not be found if the cursor is in a different section of the document, for example at the very beginning, when the search is entered in the Find field. Also, a character string in a footnote may not be found if the cursor is in the main text when the search is entered in the Find field. – I say “may not be found” because strangely, sometimes a character string may indeed be found even under these circumstances.
The file was created as a DOCX file, but when I received it I saved it as an ODT file to work with it. View > Formatting Marks is on so I can confirm it’s not some hidden character causing the issue. Also, no formatting or attributes are involved when doing the searches.
It’s irrelevant whether I use the Find toolbar or the Find & Replace dialog. The problem also occurs when none of the options in the Find & Replace dialog (incl. “Match case” and “Whole words only”) are selected.
The only workaround I have found so far is to save the file as HTML and open it in a browser, where the character string can easily be found. Then go back to the ODT file and go near the place where the character string is, using the vertical scroll bar. The character string can be found using the Find field, as expected.
Is this a bug, or am I missing an option in Preferences or the like, which would let Writer “Find All” (and “Replace All”) when told to do so?
Thanks
Sam
7.2.6.2
macOS Monterey 12.3