Bug 128484 - Writer Tools.Autocorrect.Apply and Apply and Edit changes doesn't work correctly under certain circumstances
Summary: Writer Tools.Autocorrect.Apply and Apply and Edit changes doesn't work correc...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.7.1 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoCorrect-Complete
  Show dependency treegraph
 
Reported: 2019-10-30 20:15 UTC by peter
Modified: 2020-01-20 14:12 UTC (History)
2 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 peter 2019-10-30 20:15:28 UTC
Description:
This tool doesn't conform to Tools.Autocorrect.Autocorrect options. If only Use replacement table is selected and all other options are deselected, it doesn't apply all items in replacement table and it applies some styles, and not even includes all style changes into list of changes (for Apply and Edit changes command).

Steps to Reproduce:
1. Deselect all autocorrect options, except for Use replacement table
2. Add some item into replacement table for all languages, e.g. x to xx, including one that changes => to special character ⇒
3. Write text with While typing checked to check if it works, e.g. x => x
4. Uncheck While typing and write the same text, e.g. x => x
5. Use command Tools.Autocorrect.Apply and Edit changes 

Actual Results:
xx => xx
Default style is changed to Text body style or Heading 3
list of changes contains only change from x to xx, but not style change

Expected Results:
xx ⇒ xx
without any changes in styles (should remain Default style)
all changes are in the list of changes


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Xisco Faulí 2019-11-25 15:27:20 UTC
Thank you for reporting the bug.
it seems you're using an old version of LibreOffice.
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 2 Tomas 2020-01-19 23:59:57 UTC
If you will react after one month there will be always newer version.
I confirm that bug is still there in version 6.3.4.2.
It takes 3 minutes to check the bug.
You can select "Replacements and exceptions for language: [All]" in Tools.AutoCorrect.AutoCorrect Options if you want to speedup process not influencing your personal settings.
Comment 3 Dieter 2020-01-20 08:37:29 UTC
Tried to reproduce with

Version: 6.5.0.0.alpha0+ (x64)
Build ID: 350d25da375f221edfa37309324ce3c68cf297ef
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-GB
Calc: threaded

Replacement table:
xx to x
=> to ⇒

Different results in a new document

Default style
xx =>  Result: replacement doesn't work, if there is a blank space behind

=> NEW