Bug 145086 - If there is a selection when a paragraph is split, 'Insert$1' is shown in the drop-down of the undo control
Summary: If there is a selection when a paragraph is split, 'Insert$1' is shown in the...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Undo-Redo
  Show dependency treegraph
 
Reported: 2021-10-12 04:29 UTC by Jim Raykowski
Modified: 2021-12-02 02:10 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 Jim Raykowski 2021-10-12 04:29:29 UTC
I noticed this while trying to realize request made in bug 141634.

Steps to repro:
1) Select some text in a paragraph
2) Press the Enter key
3) Click the Undo tool bar button drop down button
        
Results: 'Insert$1' is shown in the drop-down list
        
Expected results: 'New Paragraph' is shown in the drop-down list
Comment 1 Ming Hua 2021-10-27 04:36:50 UTC
Reproduced with 7.2.2 RC1:
Version: 7.2.2.1 (x64) / LibreOffice Community
Build ID: 0e408af0b27894d652a87aa5f21fe17bf058124c
CPU threads: 2; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: zh-CN (zh_CN); UI: zh-CN
Calc: threaded

The "Insert $1" string is properly localized, too.

The menu "Edit" also has the "Undo: Insert $1" item.

Choosing this "Insert $1" item (either from menu or toolbar) correctly undoes the "delete selected text and start a new paragraph" action, so just a display UI issue.  Setting priority to minor.
Comment 2 Jim Raykowski 2021-12-02 02:10:42 UTC
Fixed by enhancement patch for bug 141634