Bug 153163 - Track changes: applying a spelling suggestion inserts two record changes (deletion + insertion)
Summary: Track changes: applying a spelling suggestion inserts two record changes (del...
Status: RESOLVED NOTABUG
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
  Show dependency treegraph
 
Reported: 2023-01-23 14:13 UTC by Telesto
Modified: 2023-08-24 13:42 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Sample (9.21 KB, application/vnd.oasis.opendocument.text)
2023-01-23 14:13 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2023-01-23 14:13:12 UTC
Description:
Track changes: applying a spelling suggestion inserts two record changes (deletion + insertion)

Steps to Reproduce:
1. Open the attached file (assuming Track Changes Record ON (and show ON)
2. Right Click: idiolatry and correct it
3. Edit -> Track Changes -> Manage 


Actual Results:
Two entry's. 

Expected Results:
There was one user action, so 1 entry?


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 37e3455a13ab5741104bf41d05a80e60a4612682
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 threaded
Comment 1 Telesto 2023-01-23 14:13:21 UTC
Created attachment 184848 [details]
Sample
Comment 2 Stéphane Guillou (stragu) 2023-01-23 15:30:13 UTC
Repro in:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: cd20a17ab703e97191b4e3421527267ef82a704f
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

But also in OOo 3.3:

OpenOffice.org 3.3.0
OOO330m20 (Build:9567)

Surprised I couldn't find it already reported.
Comment 3 Stéphane Guillou (stragu) 2023-01-23 16:24:08 UTC
Selecting the word and replacing it by another does break it down as two operations too. So maybe "not a bug" as the operation always needs to be broken down into two events? Unless a new kind of event i.e. "spelling correction" is recorded.

This is the same as if correcting the word with the Spelling dialog.
Comment 4 Justin L 2023-08-24 13:42:36 UTC
(In reply to Stéphane Guillou (stragu) from comment #3)
> Selecting the word and replacing it by another does break it down as two
> operations too. 
Exactly. Same thing happens with select and paste, or select and type. NOTABUG