Bug 141688 - FILESAVE ODP Merged table cells contents duplicated
Summary: FILESAVE ODP Merged table cells contents duplicated
Status: RESOLVED DUPLICATE of bug 141886
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.1.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:odp, regression
Depends on:
Blocks:
 
Reported: 2021-04-14 13:47 UTC by NISZ LibreOffice Team
Modified: 2023-11-23 20:20 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Impress (16.04 KB, application/vnd.oasis.opendocument.presentation)
2021-04-14 13:47 UTC, NISZ LibreOffice Team
Details
Example file from Impress after cell merging (16.14 KB, application/vnd.oasis.opendocument.presentation)
2021-04-14 13:48 UTC, NISZ LibreOffice Team
Details
Screenshot of the original document in Impress after merging the cells (34.40 KB, image/png)
2021-04-14 13:48 UTC, NISZ LibreOffice Team
Details
Screenshot of the modified documents in Impress 7.0 and 7.2 after reload (76.24 KB, image/png)
2021-04-14 13:49 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2021-04-14 13:47:59 UTC
Created attachment 171196 [details]
Example file from Impress

Attached example document contains a simple table on a slide.
When I merge some of the cells horizontally or vertically and save it as ODP, the second merged cells content is saved twice in the resulting file.

Steps to reproduce:
    1. Open attached file
    2. Horizontally merge the first two cells of the second row, the second and third cells of the third row and the third and fourth cells of the fourth row
    3. Save as ODP, reload

Actual results:
The second cells text appears duplicated, for example the second row:

Top
Column1

becomes

Top
Column1
Column1

Expected results:
No duplication.

LibreOffice details:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 77419c6f3aba1fd5b1660795923c22a39bdb1bad
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL

Version: 7.1.0.3 (x64) / LibreOffice Community
Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: threaded

But not yet in:
Version: 7.0.0.3 (x64)
Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
CPU szálak: 4; OS: Windows 10.0 Build 18363; Felületmegjelenítés: alapértelmezett; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: threaded

Additional Information: 

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

author	Balazs Varga <balazs.varga991@gmail.com>	2020-10-27 21:19:36 +0100
committer	Xisco Fauli <xiscofauli@libreoffice.org>	2020-11-30 12:32:46 +0100

tdf#138307 Chart import: fix lost custom shape text

Adding CC to: Balazs Varga 

(double checked with git checkout HEAD~1 – the commit right before this one was indeed good.)
Comment 1 NISZ LibreOffice Team 2021-04-14 13:48:34 UTC
Created attachment 171197 [details]
Example file from Impress after cell merging
Comment 2 NISZ LibreOffice Team 2021-04-14 13:48:54 UTC
Created attachment 171198 [details]
Screenshot of the original document in Impress after merging the cells
Comment 3 NISZ LibreOffice Team 2021-04-14 13:49:11 UTC
Created attachment 171199 [details]
Screenshot of the modified documents in Impress 7.0 and 7.2 after reload
Comment 4 Xisco Faulí 2021-05-05 09:18:54 UTC
I do confirm the issue is introduced by

https://cgit.freedesktop.org/libreoffice/core/commit/?id=71b66b0039819f38c935b4eb5d5951ceaf6e8468

which is the the master commit
Comment 5 Stéphane Guillou (stragu) 2023-11-23 20:20:12 UTC
Reproduced in:

Version: 7.3.7.2 / LibreOffice Community
Build ID: e114eadc50a9ff8d8c8a0567d6da8f454beeb84f
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

No more reproducible since 7.4:

Version: 7.4.7.2 / LibreOffice Community
Build ID: 723314e595e8007d3cf785c16538505a1c878ca5
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Resolved by:

commit cf2449aac0141711a7610d67f7c50cd108e12443
author	Szymon Kłos Wed Feb 23 11:18:59 2022 +0100
committer	Szymon Kłos Thu Feb 24 11:36:56 2022 +0100
tdf#72776 Allow text removal in the shapes
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130474

Thanks Szymon!

Checked with linux-64-7.4 bibisect repo at build commit [88de7670b5d359dbef989cb08db596edf3c6b7bf].

Let's mark as duplicate of bug 141886, as it focused on Impress/Draw tables.

*** This bug has been marked as a duplicate of bug 141886 ***