Bug 158480 - Auto-correct is not applying the replacement rule when string finishes with single quote (conflict between autocorrect rules)
Summary: Auto-correct is not applying the replacement rule when string finishes with s...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoCorrect-Complete
  Show dependency treegraph
 
Reported: 2023-12-01 16:41 UTC by Ludovica
Modified: 2024-07-14 03:14 UTC (History)
1 user (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 Ludovica 2023-12-01 16:41:22 UTC
Description:
When I create an automatic correction in Italian language for example 
perche' --> perché, this substitution is not applied on the document.
LibreOffice, after that an User add this automatic correction, not recognise the error, so dosen't correct perche without the accent but neither the new correction that the user had insert.

Steps to Reproduce:
1. Open LibreOffice Writer
2. Click tools -> auto-correct -> auto-correct option
3. Insert on "Replace" perche' and on "With" perché
4. Click on New
5. Click on Ok
6. In Writer type perche' and then 'press space

Actual Results:
LibreOffice not recognise the error, so dosen't correct perche without the accent but neither the new correction that the user had insert.


Expected Results:
LibreOffice have to correct, after write perche' and after press space, correct the current word with perché


Reproducible: Always


User Profile Reset: No

Additional Info:
Repro with:
Version: 7.3.6.2 (x64) / LibreOffice Community
Build ID: c28ca90fd6e1a19e189fc16c05f8f8924961e12e
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: it-IT (it_IT); UI: it-IT
Calc: CL

Repro with:
Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 01a02ee7f1dbe7501a89b41e62599fba6a8b33f3
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: it-IT (it_IT); UI: it-IT
Calc: CL threaded
Comment 1 Stéphane Guillou (stragu) 2023-12-15 17:20:28 UTC
Thanks for the report, Ludovica.

I see the same in English in:

Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

The issue is that the "straight" single quote used in the "Replace" string is first autocorrected to a "typographic" (curved) single quote.
In the AutoCorrect dialog, if you go to "Localized Options", you can turn off the "Single Quotes" rule. You'll see then that your replacement rule does work.
Can you confirm this?

I would say this is "not a bug" as there is a conflict between two autocorrect rules, unless there is an argument that can be made for changing precedence of one rule over the other?
Comment 2 QA Administrators 2024-06-13 03:17:36 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2024-07-14 03:14:05 UTC
Dear Ludovica,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp