Bug 157771 - Autocorrect: Apply does not record (some) changes in Track Changes mode
Summary: Autocorrect: Apply does not record (some) changes in Track Changes mode
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Track-Changes AutoCorrect-Complete
  Show dependency treegraph
 
Reported: 2023-10-14 10:29 UTC by Mike Kaganski
Modified: 2023-10-15 18:24 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 Mike Kaganski 2023-10-14 10:29:42 UTC
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
Comment 1 m_a_riosv 2023-10-14 11:36:29 UTC
Confirmed
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9eb419b0b0f019f5fbc48ff1a11977e8b041edee
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded Jumbo