Bug Hunting Session
Bug 127944 - search: accented characters
Summary: search: accented characters
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.0.0.alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2019-10-03 09:46 UTC by cornosier
Modified: 2019-10-07 00:28 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cornosier 2019-10-03 09:46:45 UTC
in a text

Search: à

all a, à, á, ã ... are selected

same for all accented letters

thank you very much
(automatic translation)

Gérard
Comment 1 Ysabeau 2019-10-03 10:05:37 UTC
I also have this issue.

I even tested with the Unicode number of the character. Enter the unicode in both fields (search and replace), for example enter ü (unicode 00FC) in the search field, then û (unicode 00FB). It will replace not only the letter ü by û (that's we want), but also "all" the letters u (ù, ú, ũ,ů and so on). It works with any letter.

It is not linked to the keyboard but how LibreOffice works with the letters and understands them.

Version: 6.3.1.2
Build ID: b79626edf0065ac373bd1df5c28bd630b4424273
Threads CPU : 4; OS : Linux 5.2; UI Render : par défaut; VCL: gtk3; 
Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Calc: threaded

Mageia 7.1

PS: Gérard's LibreOffice

Version: 6.3.2.2
Build ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c
Threads CPU : 6; OS : Linux 5.3; UI Render : par défaut; VCL: kde5;
Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Calc: threaded 

Fedora31
Comment 2 Laurent BP 2019-10-03 11:21:06 UTC
Confirmed with 
- Version: 6.3.0.1 (x64)
Build ID: 41ac97386aba908b6db860cfb4cfe2da871886ae
Threads CPU : 2; OS : Windows 6.1; UI Render : par défaut; VCL: win; 
Locale : fr-FR (fr_FR); UI-Language: fr-FR
Calc: CL
- Version: 6.2.7.1 (x64)
Build ID: 23edc44b61b830b7d749943e020e96f5a7df63bf
Threads CPU : 2; OS : Windows 6.1; UI Render : par défaut; VCL: win; 
Locale : fr-FR (fr_FR); Langue IHM : fr-FR
Calc: CL
- Version: 6.2.0.3 (x64)
Build ID: 98c6a8a1c6c7b144ce3cc729e34964b47ce25d62
Threads CPU : 2; OS : Windows 6.1; UI Render : par défaut; VCL: win; 
Locale : en-US (fr_FR); Langue IHM : fr-FR
Calc: CL

NOT reproduced with
- Version: 6.1.0.0.alpha0+
Build ID: 80c98c069b37bd2f8f67d2f6b59edc3b4c6abea5
CPU threads: 2; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-03-05_23:37:42
Locale: fr-FR (fr_FR); Calc: CL
- Version: 6.1.6.3 (x64)
Build ID: 5896ab1714085361c45cf540f76f60673dd96a72
Threads CPU : 2; OS : Windows 6.1; UI Render : par défaut; 
Locale : fr-FR (fr_FR); Calc: CL

This regression was introduced in 6.2 branch
Comment 3 Laurent BP 2019-10-03 11:40:40 UTC
Confirmed with
Version: 6.2.0.0.alpha1 (x64)
Build ID: ff46ad24d1d3cbcea45895520483ed1fd4ff488b
Threads CPU : 2; OS : Windows 6.1; UI Render : par défaut; VCL: win; 
Locale : fr-FR (fr_FR); Calc: CL
Comment 4 raal 2019-10-03 14:31:44 UTC
This seems to have begun at the below commit.
Adding Cc: to Khaled Hosny ; Could you possibly take a look at this one?
Thanks

9519ea63872550eed8dd1aa21a7dcd9a572df800 is the first bad commit
commit 9519ea63872550eed8dd1aa21a7dcd9a572df800
Author: Jenkins Build User <tdf@pollux.tdf>
Date:   Tue Feb 14 20:24:04 2017 +0100

    source sha:278eabab2b5bdc95a51d501fcdb46c216ded3baa

author	Khaled Hosny <khaledhosny@eglug.org>	2017-01-08 01:02:20 +0200
committer	Eike Rathke <erack@redhat.com>	2017-01-17 10:52:31 +0000
commit	278eabab2b5bdc95a51d501fcdb46c216ded3baa (patch)
tree	9b018f5644113c1b3fe6bbc86d757966b4aa99b3
parent	7fa20da88a4778bdf20d6ca0491fe97ae03ab554 (diff)
tdf#105170: Ignore diacritics on precomposed chars
Comment 5 Laurent BP 2019-10-03 17:00:40 UTC
I was surprised by the commit found by bibisection, but my tests with several versions agree with the introduction of the bug with resolution of tdf#105170 :
- not present in Version: 5.3.0.3 (x64)
Build ID: 7074905676c47b82bbcfbea1aeefc84afe1c50e1
Threads CPU : 2; Version de l'OS :Windows 6.1; UI Render : par défaut; Moteur de mise en page : nouveau; 
Locale : fr-FR (fr_FR); Calc: CL
- present in Version: 5.3.3.1 (x64)
Build ID: 46360c72c4823cefeaa85af537fba22bd568da7e
Threads CPU : 2; Version de l'OS :Windows 6.1; UI Render : par défaut; Moteur de mise en page : nouveau; 
Locale : fr-FR (fr_FR); Calc: CL

HOWEVER, I confirm that the bug is NOT present in:
- Version: 6.1.0.0.alpha0+ (x64)
Build ID: 075b5ad5bdd230738ee30b0ea17a7fa9502c218b
CPU threads: 2; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2017-12-21_23:23:40
Locale: fr-FR (fr_FR); Calc: CL
- Version: 6.1.0.0.alpha0+
Build ID: 80c98c069b37bd2f8f67d2f6b59edc3b4c6abea5
CPU threads: 2; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-03-05_23:37:42
Locale: fr-FR (fr_FR); Calc: CL
- Version: 6.1.6.3 (x64)
Build ID: 5896ab1714085361c45cf540f76f60673dd96a72
Threads CPU : 2; OS : Windows 6.1; UI Render : par défaut; 
Locale : fr-FR (fr_FR); Calc: CL

Present in:
Version: 6.1.0.0.alpha0+ (x64)
Build ID: 021081823aeebcfa395662d0c04535a243977c2e
CPU threads: 2; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2017-12-20_00:26:37
Locale: fr-FR (fr_FR); Calc: CL

So this bug was "repaired" between Time: 2017-12-20_00:26:37 and Time: 2018-03-05_23:37:42, before being re-introduced in 6.2 branch
Suggested commit?
https://cgit.freedesktop.org/libreoffice/core/commit/i18npool?id=4e124b17a71d24079f43da68fb239b2e2a29dc4e
Comment 6 Khaled Hosny 2019-10-07 00:28:21 UTC
I can’t reproduce.

Please make sure to select Diacritic-sensitive checkbox in the Find & Replace dialog (it should be selected by default, in new installations at least).