Bug 169795 - Crash when undoing paste of table cell with CT enabled
Summary: Crash when undoing paste of table cell with CT enabled
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Track-Changes-Table
  Show dependency treegraph
 
Reported: 2025-12-02 14:29 UTC by Gabor Kelemen (Collabora)
Modified: 2025-12-03 00:52 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Writer (12.98 KB, application/vnd.oasis.opendocument.text)
2025-12-02 14:29 UTC, Gabor Kelemen (Collabora)
Details
The example document before the process, selected the problematic source cell (51.96 KB, image/png)
2025-12-02 14:30 UTC, Gabor Kelemen (Collabora)
Details
The example document after paste in the target cell (61.07 KB, image/png)
2025-12-02 14:31 UTC, Gabor Kelemen (Collabora)
Details
The example document after pressing the Undo button on the toolbar - endless loop (54.83 KB, image/png)
2025-12-02 14:32 UTC, Gabor Kelemen (Collabora)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (Collabora) 2025-12-02 14:29:47 UTC
Created attachment 204388 [details]
Example file from Writer

When in the attached document a full table cell is copied, then Undo is pressed, LO falls into an endless loop.

1. Open attached document
2. From the second table select the full cell D2
3. In the first table select the full cell D2, press Ctrl-V
4. Press Ctrl-Z to undo
-> endless loop

Version: 26.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 620(Build:0)
CPU threads: 24; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded

Seems to have started in 7.4 with:

https://git.libreoffice.org/core/+/b97116791047f89b768ab4aa8126e543df826be3

commit b97116791047f89b768ab4aa8126e543df826be3	[log]
author	László Németh <nemeth@numbertext.org>	Fri Apr 22 20:34:32 2022 +0200
committer	László Németh <nemeth@numbertext.org>	Mon Apr 25 17:43:47 2022 +0200

tdf#141391 sw: don't paste as nested table in first cell paragraph
Comment 1 Gabor Kelemen (Collabora) 2025-12-02 14:30:40 UTC
Created attachment 204389 [details]
The example document before the process, selected the problematic source cell
Comment 2 Gabor Kelemen (Collabora) 2025-12-02 14:31:26 UTC
Created attachment 204390 [details]
The example document after paste in the target cell
Comment 3 Gabor Kelemen (Collabora) 2025-12-02 14:32:53 UTC
Created attachment 204391 [details]
The example document after pressing the Undo button on the toolbar - endless loop
Comment 4 m_a_riosv 2025-12-03 00:52:23 UTC
Reproducible
Version: 26.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 620(Build:0)
CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: threaded