https://bugs.documentfoundation.org/show_bug.cgi?id=157771

            Bug ID: 157771
           Summary: Autocorrect: Apply does not record (some) changes in
                    Track Changes mode
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

In a new text document:


1. Type some text with a word surrounded by *, like "foo *bar* baz" (undo
autocorrection of "bar" to bold, if occurs).
2. Make sure that "Automatic *bold*, /italic/, -strikeout- and _underline_" in
AutoCorrect Options is enabled.
3. Turn on Track Changes mode.
4. Tools->AutoCorrect->Apply.

Expected result: "bar" gets bold, and this formatting is reflected as a change;
the removed asterisks are possibly also marked deleted.

Actual result: "bar" gets bold without any changes recorded.

For comparison, manual application of bold to the text after step 3 would
correctly record the change.

Also for comparison:
In step 1, type "foo *bar baz" (so no closing asterisk);
Instead of step 4, put cursor after "*bar", and press "*".
=> In this case, the autocorrection happens, and the bold format is correctly
recorded as a change. Removal of asterisks isn't recorded, though; so either it
should also not be recorded in Expected result section, too; or it should be
recorded in both cases - but that would be a different issue.

Tested with Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to