Description: In Writer 6.2.4.2 (x64), the Find & Replace dialog's "similarity search" option fails to find results if you have multiple words or whitespace in the "find" input. It appears to be treating whitespace or extra words like added or exchanged characters. Steps to Reproduce: 1. Create a new Writer document. 2. Type something. Example: "For example, this document." 3. Open Find & Replace. Search for "document". This works. 4. Check "Similarity search" and set "Exachange characters" to 2. Search again. This works. 5. Search for "docummmt" instead. This works. 6. Search for "this docummmt" or even just " docummmt". This does not work. 7. Increase the add or exchange characters or both. If you increase them enough, this works, but the combination is unclear. Actual Results: "Search key not found" Expected Results: Highlight 1 result Reproducible: Always User Profile Reset: No Additional Info:
(In reply to Joel M from comment #0) > 6. Search for "this docummmt" or even just " docummmt". This does not work. " docummmt" works for me, but not "this docummmt" using Version: 6.4.0.0.alpha0+ (x64) Build ID: ae823e4633a76d13cebc6432b9e44b9b2862326b CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; TinderBox: Win-x86_64@42, Branch:master, Time: 2019-06-26_23:06:07 Locale: de-DE (de_DE); UI-Language: en-US Calc: threaded and also in Version: 6.2.5.2 (x64) Build-ID: 1ec314fa52f458adc18c4f025c545a4e8b22c159 CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE Calc: threaded Thank you for reporting the bug. To be certain the reported issue is not related to corruption in the user profile, could you please reset your Libreoffice profile (https://wiki.documentfoundation.org/UserProfile) and re-test? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the issue is still present
I'll try the profile reset thing. Meanwhile, I've reproduced the bug on: Windows 8 LibreOffice 5.0.2.2 So this is apparently not new. It looks like increasing the remove characters count has a strong effect on whether there is a hit, but you also need to increase one or the other of add or change characters when searching for "this docummmt". Presumably it's doing something like looking at each word in the document individually but comparing it to the whole search string.
[Automated Action] NeedInfo-To-Unconfirmed
(In reply to Dieter Praas from comment #1) > Thank you for reporting the bug. To be certain the reported issue is not > related to corruption in the user profile, could you please reset your > Libreoffice profile (https://wiki.documentfoundation.org/UserProfile) and > re-test? > > I have set the bug's status to 'NEEDINFO'. Please change it back to > 'UNCONFIRMED' if the issue is still present Per the directions you linked, I restarted LO in safe mode (using the default setting) on the Windows 10 / LO 6.2.4.2 (x64) machine. I noticed the toolbars and icons were different, so I think safe mode was properly ignoring my profile. I followed my steps above and got the same result: similarity search seems to choke when searches involve whitespace. Increasing the "Remove characters" count did result in a match, even though it shouldn't have been necessary. (So my original step #7 may be wrong -- it seems like remove characters is more important than add or exchange for this behavior.)
Set to NEW. It still works for me with an additional whitespace, but fails with searching for two words (I tried with "this documnt").
*** Bug 133141 has been marked as a duplicate of this bug. ***
Created attachment 166559 [details] Instructions and text document for demonstrating problem Encountered this problem independently, and made a test file (attached, with instructions in file). STR in test file reproduces problem of not finding two strings with a space. And shows an additional problem: Cannot find strings with a hyphen.
confirmed for both spaces and hyphens in: Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: 24087697d5cf78aac346d4dcea0596373e15a95c CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded and Version: 7.3.6.2 / LibreOffice Community Build ID: c28ca90fd6e1a19e189fc16c05f8f8924961e12e CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Changing earliest known version affected according to comment 2.
Dear Joel M, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Bug still present on Version 24.2 ---------------- Version: 24.2.5.2 (x86) / LibreOffice Community Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59 CPU threads: 8; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win Locale: fr-FR (fr_FR); UI: fr-FR Calc: threaded
Remains in 24.8 --------------------- Version: 24.8.1.2 (X86_64) / LibreOffice Community Build ID: 87fa9aec1a63e70835390b81c40bb8993f1d4ff6 CPU threads: 2; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: fr-FR (fr_FR.UTF-8); UI: en-US Calc: threaded