There is a major bug in the Find & Replace: Search: ţ (t with cedilla) Replace: ț (t with comma) Will replace all t (simple ascii t) characters to ț (t with comma below) Similarly, all accented characters will match their non-accented simple versions: Searching ăáâ matches a, searching é matches e, searching sau matches său, etc. This bug renders the Find & Replace dialog unusable... :-( The [x] Match case checkbox has no effect on this bug.
Created attachment 140399 [details] test document to search for \u0163 ţ Why must we enable a default Complex text layout (CTL) on Tools -> Options -> Language Settings -> Languages to expose the Diacritic-sensitive check box on the Find & Replace dialog? Without it set, Find & Replace dialog search fails by glyph and for specific Unicode codepoints using the ICU Regular expression libs. Open the attached document (no language set for paragraphs). With no CTL default set active by the check box, the search for the "LATIN SMALL LETTER T WITH CEDILLA" by glyph, or by its \u0163 codepoint will fail. Enable a CTL default language, check the Diacritic-sensitive box, and retest. Both a search by glyph, and a Regular expression search by codepoint work. Seems like the diacritic-sensitive should be globally available, but may be wrapped up in the CTL handling. Work around for functional search is to have a Complex text layout default language check box enabled.
Seems searching for diacritic equivalents was implemented specifically for CTL/Arabic, see bug 52204, but the option is always enabled instead of disabled by default. Also related is bug 91764.
The actual problem seems to have been introduced with the change for bug 111846, that negated some logic but only part of it.. Investigating.
Eike Rathke committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=d99ae18b68d3889c999b59485006f85f7faa201c Resolves: tdf#116242 handle negated diacritics correctly and show checkbox It will be available in 6.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Unfortunately the dialog setting is stored in the configuration, so an update will still present the user with an unchecked Diacritics-sensitive box s/he has to enable once.
Pending review https://gerrit.libreoffice.org/50914 for 6-0
(In reply to Eike Rathke from comment #5) > Unfortunately the dialog setting is stored in the configuration, so an > update will still present the user with an unchecked Diacritics-sensitive > box s/he has to enable once. /a install on Windows 10 Pro en-US 64-bit with bootstrap.ini UserInstallation=$ORIGIN/../Data/settings of Version: 6.1.0.0.alpha0+ (x64) Build ID: 7a683c31e090e5a81debadcef025df9cd61c75f0 CPU threads: 8; OS: Windows 10.0; UI render: GL; TinderBox: Win-x86_64@42, Branch:master, Time: 2018-03-08_01:44:18 Locale: en-US (en_US); Calc: CL Looks better. With this new default profile the Diacritic-sensitive checkbox is restored to the Find & Replace dialog, but is unchecked. Checking the box enabled restores search by glyph of the OP and test doc. And also for regular expression searches. But, shouldn't it be checked enabled by default to ensure a search by glyph will behave as expected. Also for search with Regular expressions checkbox to find by ICU regex, \uHHHH syntax specifically, the transliteration must not occur--and would think the Diacritic-sensitive box needs to be enabled by default because of that as well.
*** Bug 116285 has been marked as a duplicate of this bug. ***
(In reply to V Stuart Foote from comment #7) > But, shouldn't it be checked enabled by default to ensure a search by glyph > will behave as expected. Geez, the ignore state is even the default config. I'll do a follow-up change.
Eike Rathke committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a8959a26e18237c458a853f2ca7524e875d4c1b6 Change IsIgnoreDiacritics_CTL default to false, tdf#116242 follow-up It will be available in 6.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 115829 has been marked as a duplicate of this bug. ***
*** Bug 116257 has been marked as a duplicate of this bug. ***
Hi, Works as expected with LO 6.1.0.0.alpha0+ Build ID: 0d1479cbd442c3ec3bdd20333c341ea24dcca21e CPU threads: 2; OS: Windows 6.1; UI render: default; TinderBox: Win-x86@42, Branch:master, Time: 2018-03-10_01:47:26 Locale: ro-RO (fr_FR); Calc: CL Thank you Eike.
Eike Rathke committed a patch related to this issue. It has been pushed to "libreoffice-6-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=31f3e18d52c0cc124cd7a789a8f1fbc7c2534701&h=libreoffice-6-0 Resolves: tdf#116242 handle negated diacritics correctly and show checkbox It will be available in 6.0.4. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 116590 has been marked as a duplicate of this bug. ***
Duplicate bug was: "Search and replace is slow in 5.1 compared to LibO 5.0". So, is backport to 5.4 possible here?
Eike Rathke committed a patch related to this issue. It has been pushed to "libreoffice-6-0-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=dbe02ba3775832ff35d512ad53b1e70028fb2659&h=libreoffice-6-0-3 Resolves: tdf#116242 handle negated diacritics correctly and show checkbox It will be available in 6.0.3. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Zdeněk Crhonek committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=80d1ac7d55c22de20edeec30f8f56e09f8455f8d uitest findReplace; tdf#116242; tdf#98417; tdf#39022 It will be available in 6.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.