Bug 156244 - AUTOCORRECT: Empty dialog after "Apply and Edit Changes", if "record changes" and "show changes" are active
Summary: AUTOCORRECT: Empty dialog after "Apply and Edit Changes", if "record changes"...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Track-Changes AutoCorrect-Complete
  Show dependency treegraph
 
Reported: 2023-07-11 22:26 UTC by Matt K
Modified: 2023-07-26 06:02 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 Matt K 2023-07-11 22:26:53 UTC
Description:
With "Edit"->"Track Changes"->"Record" and "Edit"->"Track Changes"->"Show" enabled, doing "Tools"->"AutoCorrect"->"Apply and Edit Changes" doesn't show any changes to made but should show some.  It looks like it applies the changes before launching the dialog, but when "Edit"->"Track Changes"->"Record" is off, the dialog show entries in the dialog.

Steps to Reproduce:
1.Open Writer
2.Enable "Edit"->"Track Changes"->"Record"
3.Enable "Edit"->"Track Changes"->"Show"
4.Type some text (e.g. "_bbb_")
5.Ensure that "Tools"->"AutoCorrect"->"AutoCorrect Options" has "Automatic *bold*..." checked on
6.Go to "Tools"->"AutoCorrect"->"Apply and Edit Changes"

Actual Results:
No entries are shown in the dialog

Expected Results:
Entries are shown in the dialog to convert the text to underline


Reproducible: Always


User Profile Reset: No

Additional Info:
Tested with latest master on Win10
Comment 1 Matt K 2023-07-11 22:28:41 UTC
(In reply to Matt K from comment #0)

Step 6 assumes step 4 wasn't already AutoCorrected
Comment 2 Dieter 2023-07-26 06:02:39 UTC
I confirm it with

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 42f0422d19c4d0a2fb09654fb6d1d92e50f6dd5c
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

Steps:
1. Make sure, that in Tools -> AutoCorrect "While Typing" is deselected
2. Make sure, that in Tools -> AutoCorrect -> AutoCorrect Options -> Options the option "Automatic *bold*, ..." is active

Scenario A (works as expected)
3. Make sure, that record changes is off
4. Type *bbb* and press enter
5. Tools - AutoCorrect -> Apply and Edit Changes (Actual and expected result: Dialog "Mangage Changes" opens with change of AutoCorrect and changes are also visible in text)

Scenario B
6. Make sure, that record changes and show changes are on
7. Type *bbb* and press enter
8. Tools - AutoCorrect -> Apply and Edit Changes

Actual result
Empty dialog and changes of AutoCorrect are not shown in text

Expected result
Dialog displays changes of auto correction