https://bugs.documentfoundation.org/show_bug.cgi?id=159651

            Bug ID: 159651
           Summary: Ctrl+H search in Writer doesn't acknowledge diacritics
                    in Polish
           Product: LibreOffice
           Version: 7.6.4.1 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
In the latest version of LibreOffice Writer (language set to Polish) the search
and replace (Ctrl+H) tool doesn't discriminate between letters with and without
diacritics. This bug applies to the search field of the pop-up window.
Therefore a search for eg. "tor" will result in finding (and potentially
replacing) both "tor" and "tór", similarly searching (and replacing) "tez" will
find (and replace) "tez", "też", "tęz", and "tęż" - and so on.

The Ctrl+F search works correctly. The problem applies only to the Ctrl+H
(search and replace) window.

The problem is severe, because it renders the Ctrl+H function unusable, as
Polish language is chock-full of diacritics.

Steps to Reproduce:
1. Create a new Writer document.

2. Type the following words: tez, też, tęz, tęż, potężny, protez, wytęż, toteż,
tężec, .

3. Open the search and replace pop-up window (Ctrl+H).

4. Type in the search bar the word: tez.

5. Find next. It will highlight every word regardless of diacritics.

6. If you type in the search bar a word wit any of the diacritics (eg. tęż),
the program will also highlight everything regardless of diacritics.

7. You can also try to replace — eg. tez with też; now all the words will be
replaced with też (making them nonsensical in the context of a sentence).

8. The same applies to finding a word and replacing it with a formatted
version. Eg. type in the search bar the word: tez, and in the replace bar type:
tez, but with a highlighting in any colour. The result will be every word (or
their appropriate fragment in case of the longer words, of course) replaced
with highlighted "tez".

Actual Results:
As stated in the steps to reproduce.

Expected Results:
The search results should be limited to exactly the searched strings of letters
with their specific diacritics.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: CL threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to