Bug 169084 - Undoing the insertion of a table using Paste Special - Row Above requires multiple Undo commands (Ctrl + Z).
Summary: Undoing the insertion of a table using Paste Special - Row Above requires mul...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: All Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Undo-Redo Paste-Special
  Show dependency treegraph
 
Reported: 2025-10-26 20:48 UTC by Michael H
Modified: 2025-12-30 19:22 UTC (History)
4 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 Michael H 2025-10-26 20:48:59 UTC
Description:
insertion of a table with paste special - row above  requires multiple undo commands instead of one undo


Steps to Reproduce:
1.create a table in writer eg 5rows * 3 col
2.copy row 4 an 5 into the clipboard
3.put cursor in row 3 col 1
4.paste special - row above
5.press Strg+Z Undo


Actual Results:
after undo the inserted rows are empty but still part of the table. after 2 more undos the table has the initial form. 

Expected Results:
after undo the insertion has disappeared.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.6.2 (X86_64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 12; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Ubuntu package version: 4:25.2.6-0ubuntu0.25.04.1
Calc: threaded
Comment 1 m_a_riosv 2025-10-26 21:44:53 UTC
Maybe because the operating make two steps, one inserting the new rows, two pasting the data in it.
Comment 2 jcline 2025-11-14 03:58:39 UTC
Thank you for reporting the bug. I can confirm that the bug is present in versions:

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 620(Build:0)
CPU threads: 32; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Version: 25.8.2.2 (X86_64)
Build ID: d401f2107ccab8f924a8e2df40f573aab7605b6f
CPU threads: 32; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 3 Buovjaga 2025-11-19 15:15:38 UTC
This was added in bug 64902. Let's ask László what he think about grouping or not grouping the actions.