Bug 132874 - Table with merged/split cells and embedded table broken with RTF paste
Summary: Table with merged/split cells and embedded table broken with RTF paste
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: bibisected, bisected
Depends on:
Blocks: Writer-Tables RTF-Paste
  Show dependency treegraph
Reported: 2020-05-09 15:39 UTC by Telesto
Modified: 2023-11-07 03:14 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

Example file (9.48 KB, application/vnd.oasis.opendocument.text)
2020-05-09 15:40 UTC, Telesto
Bibisect log (2.89 KB, text/plain)
2020-05-10 10:27 UTC, Telesto

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-05-09 15:39:47 UTC
Table with merged/splitted cells broken if LibreOffice is quited between copy and paste

Steps to Reproduce:
1. Open the attached file
4. Launch Writer again

Actual Results:
Merged cell not merged anymore (and some more differences)

Expected Results:
Same layout

Reproducible: Always

User Profile Reset: No

Additional Info:
Found in
Version: (x64)
Build ID: 97a2c1fc5e376c0c00968f17a0392c6d3a5ed565
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: threaded

and in

6.3 did hang on file open

but not in
Comment 1 Telesto 2020-05-09 15:40:06 UTC
Created attachment 160559 [details]
Example file
Comment 2 Telesto 2020-05-09 15:42:25 UTC
Also fine in 6.2
Comment 3 Ming Hua 2020-05-10 05:48:25 UTC
I can reproduce with 7.0.0 alpha1:
Version: (x64)
Build ID: 6a03b2a54143a9bc0c6d4c7f1...
CPU 线程: 2; 操作系统: Windows 10.0 Build 18363; UI 渲染: Skia/Raster; VCL: win; 
Locale: zh-CN (zh_CN); UI: zh-CN
Calc: threaded

But NOT reproduced with 6.3.5 (the example file opens fine here):
Version: (x64)
Build ID: dd0751754f11728f69b42ee2af66670068624673
CPU threads: 2; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: zh-CN (zh_CN); UI-Language: en-US
Calc: threaded
Comment 4 Telesto 2020-05-10 10:27:07 UTC
Created attachment 160592 [details]
Bibisect log

Bisected to:
author	Jan Holesovsky <kendy@collabora.com>	2019-09-26 13:35:55 +0200
committer	Jan Holesovsky <kendy@collabora.com>	2019-09-27 09:54:06 +0200
commit e9e6d4b058e13165f3dde1ca7822eec97dfe8aa7 (patch)
tree dea7babee79d1acbf34ab8e81fed5aa355cf060b
parent ffa97dfc53ef902fe478f264c51989bd4c4434d1 (diff)
tdf#116685: Make the RICHTEXT take precedence over EMBED_SOURCE.
Before this patch, copy in Calc, Paste in Writer produced an embedded
sheet.  I suspect is it not what the people usually want; working with
the embedded sheets in Writer is non-intuitive, I suspect people will be
happier with a normal table which they can style etc. appropriately.

OTOH - this is a general change, so it might have some unwanted
side-effects; let's see what if we get bugreports :-)

tdf#127673 was related; but in my view, we shouldn't create the embedded
objects in the first place.

Comment 5 Telesto 2020-05-10 10:28:43 UTC
Adding cc: to Jan Holesovsky
Comment 6 Telesto 2020-05-10 10:32:15 UTC
Note: The 'proper' layout can be restored more or less with HTML paste
Comment 7 Aron Budea 2021-11-06 23:55:31 UTC
The identified change only switches to RTF paste, the steps can be checked in older versions as well by using paste special in RTF format.
The pasted table is already buggy in version 3.3.0.
Comment 8 QA Administrators 2023-11-07 03:14:25 UTC
Dear Telesto,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team