Created attachment 195325 [details] hyphen and space search SUMMARY When you search in the document (Ctrl+F) that has non-breaking hyphens, you can not search for them in the search dialogue by typing. STEPS TO REPRODUCE 1. Create Writer file and type a word one time with a regular and another with non-breaking hyphen 2a. Search for the word in the search field by typing the word 2b. Search for the word in the search field by copying the word OBSERVED RESULT Add. 2a) When the text is typed you can not type non-breaking hyphens. A typed regular hyphen will not find the non-breaking hyphen Add. 2b) When the text is copied there is a) no indication that you search for a non-breaking hyphen and b) now only the non-breaking hyphen is found EXPECTED RESULT As this is a very basic search I would expect a fuzzy search where a typed hyphens finds non-breaking hyphens and vice versa copied non-breaking hyphens find regular hyphens. I would also expect a soft hyphen (in a copied word) to be ignored in the search as it is done when the word is typed (without soft hyphen) (result: Word with soft hyphen is found even search does not contain one) ADDITIONAL INFORMATION I've seen bug 89573 (Can not type non-breaking space into Find & Replace dialog; https://bugs.documentfoundation.org/show_bug.cgi?id=89573) but as it has the Find & Replace dialogue as main subject I'm not sure if this is the same.
Created attachment 195326 [details] hyphen and space test file A test file to search for o) hy-phen (with regular, non-breaking and soft hyphen) o) sp ace (with regular and non-breaking space combined with soft hyphen)
Created attachment 195327 [details] problem in a nutshell In short: 1a) When hyphen is typed, non breaking hyphens can't be found 1b) When non-breaking hyphens are inserted (via copy&paste) 2) Same as 1a) and 1b) for spaces and non breaking spaces
Created attachment 195367 [details] hyphen and space search file correction
Looks like this is related to Issue #89573 (Can not type non-breaking space into Find & Replace dialog) https://bugs.documentfoundation.org/show_bug.cgi?id=89573
I confirm the actual behaviour, but I'm not sure, if it is a bug (or a duplicate) or an enhancement request. Let's ask design-team.
Fuzzy search should return all kind of spaces including EN and EM variants. The same for hyphen. So essentially I agree with the request. Kind of duplicates Bug 89573 - Can not type non-breaking space into Find & Replace dialog Bug 126294 - Similarity search does not find results when searching for strings with a space or hyphen