Bug 139396 - AutoCorrect deleting an item in the German replacement list in the dialog doesn't have any actual effect (still replaced). Even after restart
Summary: AutoCorrect deleting an item in the German replacement list in the dialog doe...
Status: RESOLVED DUPLICATE of bug 103156
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoCorrect-Complete
  Show dependency treegraph
 
Reported: 2021-01-04 09:22 UTC by Telesto
Modified: 2021-01-05 03:57 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 Telesto 2021-01-04 09:22:34 UTC
Description:
AutoCorrect deleting an item in the German replacement list in the dialog doesn't have any actual effect (still replaced). Even after restart

Steps to Reproduce:
1. open Writer
2. Set language of the document to german
3. Tools -> Auto-Correct -> Autocorrect options -> replacement list
4. German list, search for dsa and delete the entry
5. go to main document.. type dsa.. replaced
6. Quite LibreOffice
7. Relaunch.. Set it to german again.. and retry 

Actual Results:
It's not applied instantly (but will work after restart in 4.4.7.2)
It's not applied at all (even after restart.. in 6.2.9.0.0+ (x86)

Expected Results:
Ideally no restart is needed. However not working at all is obvious next step to making this more problematic


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.2.0.0.alpha0+ (x64)
Build ID: 4e3ce9dd6ace0b22f7b3f45cf2338b201f4dc305
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

and in
6.2.9.0.0+ (x86

not in
4.4.7.2
Comment 1 Telesto 2021-01-04 09:32:16 UTC
https://bugs.documentfoundation.org/show_bug.cgi?id=96787#c14

The problem is that there is an autocorrection for German(Germany) in two versions - in the share directory there is acor_de.dat and in the user directory there is acor_de-DE.dat

If a the search in the language/country combination file is not found then the auto correction looks for the pure language version. 

If you delete this acor_de-DE.dat in your user configuration and call the AutoCorrect options dialog to remove the (c) from the German list then the 
acor_de.dat file is loaded and a new acor_de-DE.dat is created. 

There is no acor-en.dat in the share directory.

The installation should probably create a acor_de-DE.dat instead of acor_de.dat.
Comment 2 V Stuart Foote 2021-01-05 03:55:05 UTC

*** This bug has been marked as a duplicate of bug 103156 ***