Bug 127109 - EDITING Deletion of text creates undo entry: “Delete $1”
Summary: EDITING Deletion of text creates undo entry: “Delete $1”
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Track-Changes
  Show dependency treegraph
Reported: 2019-08-23 08:42 UTC by Gabor Kelemen
Modified: 2019-08-26 20:07 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

Screenshot of the problem in Writer (72.14 KB, image/png)
2019-08-23 08:42 UTC, Gabor Kelemen

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen 2019-08-23 08:42:49 UTC
Created attachment 153586 [details]
Screenshot of the problem in Writer

In current master when deleting some words with change tracking enabled the generated Undo entry reads “Delete $1”. This does not happen in 6.3 or with change tracking disabled.

Steps to reproduce:
    1. Enter some text in Writer, like lorem ipsum
    2. Enable change tracking
    3. Delete a word like lorem

Actual results:
Edit menu shows “Undo: Delete $1”

Expected results:
Edit menu shows “Undo: Delete lorem”

LibreOffice details:
Version: (x64)
Build ID: 3e64065612acec2eb29aa21e2b515953422256d7
CPU threads: 4; OS: Windows 6.3; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-08-15_22:57:26
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: CL

Bibisected using bibisect-win64-6.4 to:
URL: https://cgit.freedesktop.org/libreoffice/core/commit/?id=b69c518df68ce673b28d589da6626bd3d860f309 

László Németh <nemeth@numbertext.org> 2019-06-18 19:10:21 +0200 
László Németh <nemeth@numbertext.org> 2019-06-24 09:37:11 +0200 
summary: tdf#54819 keep style & numbering at tracked deletion

Adding CC to: László Németh
Comment 1 Julien Nabet 2019-08-26 20:07:58 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.