Bug 123951 - Autocorrect doesn't work in some documents
Summary: Autocorrect doesn't work in some documents
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.7.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoCorrect-Complete
  Show dependency treegraph
 
Reported: 2019-03-08 22:20 UTC by saverio.pub2
Modified: 2021-01-18 09:45 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Minimal test case. (8.62 KB, application/vnd.oasis.opendocument.text)
2019-03-08 22:21 UTC, saverio.pub2
Details

Note You need to log in before you can comment on or make changes to this bug.
Description saverio.pub2 2019-03-08 22:20:52 UTC
Description:
Autocorrect performs some replacements when creating a new document, but not when editing some documents.

Steps to Reproduce:
1. open the attached document
2. type `:princess:` and space



Actual Results:
Nothing happens. If it's done on a new document, the replacement is instead applied.

Expected Results:
`:princess` should be replaced with `👸`


Reproducible: Always


User Profile Reset: No



Additional Info:
May be related to https://bugs.documentfoundation.org/show_bug.cgi?id=115833.
Comment 1 saverio.pub2 2019-03-08 22:21:32 UTC
Created attachment 149836 [details]
Minimal test case.
Comment 2 Dieter 2019-03-10 20:32:21 UTC
I confirm it with

Version: 5.4.7.2 (x64)
Build-ID: c838ef25c16710f8838b1faec480ebba495259d0
CPU-Threads: 4; BS: Windows 6.19; UI-Render: GL; 
Gebietsschema: de-DE (de_DE); Calc: CL

and

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 91cdf22b88a4f7bec243c8fb187627e766d3294c
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-03-08_00:38:10
Locale: en-US (de_DE); UI-Language: en-US
Calc: threaded
Comment 3 saverio.pub2 2020-04-27 21:03:55 UTC
Still experiencing it on 6.4.3.2.
Comment 4 Julien Nabet 2021-01-17 20:08:06 UTC
It's because language of your file is Italian.
If you type ":principessa:", it will work.

You can change language of your file towards English with: Tools/Language/For All Text/English (USA).

Could you give a try?
Comment 5 saverio.pub2 2021-01-18 09:45:47 UTC
Wow, that does it. Thanks!