Bug 143234

Summary: Writer Table: Split Cells resets the borders and background color if table style is applied
Product: LibreOffice Reporter: Kamil Landa <kamlan>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: buzea.bogdan, raal, stephane.guillou, ubap.dev
Priority: medium Keywords: bibisected, bisected, regression
Version: 5.3.0.3 release   
Hardware: x86-64 (AMD64)   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=126008
https://bugs.documentfoundation.org/show_bug.cgi?id=133179
Whiteboard:
Crash report or crash signature: Regression By: Jakub Trzebiatowski
Bug Depends on:    
Bug Blocks: 103100    
Attachments: example for reseted borders after Split Cell

Description Kamil Landa 2021-07-07 13:14:06 UTC
Created attachment 173410 [details]
example for reseted borders after Split Cell

1) Put some table into Writer document and change the borders or background color for the cells. 
2) Use Split Cells. 

It sets the borders/background in whole table to the unformatted ones.


Version: 7.1.5.1 (x64) / LibreOffice Community
Build ID: 2ca94649fd6dbdcab938c55c28b6a950a9634a34
CPU threads: 8; OS: Windows 10.0 Build 17763; UI render: Skia/Raster; VCL: win
Locale: cs-CZ (cs_CZ); UI: cs-CZ
Calc: CL


Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 9c15dea0b2192d231b65175291a7655122c2e24c
CPU threads: 8; OS: Windows 10.0 Build 17763; UI render: Skia/Raster; VCL: win
Locale: cs-CZ (cs_CZ); UI: en-US
Calc: CL
Comment 1 raal 2021-07-08 21:35:01 UTC
Confirm with Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: eac5977bfc11797eda356560a5e45c51108ef5a1
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

It works in Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a) -> regression
Comment 2 raal 2021-07-08 21:48:32 UTC
This seems to have begun at the below commit.
Adding Cc: to Jakub Trzebiatowski ; Could you possibly take a look at this one?
Thanks
 80852fb82e9722170aa1b84abaf44c8a47e52fca is the first bad commit
commit 80852fb82e9722170aa1b84abaf44c8a47e52fca
Author: Jenkins Build User <tdf@pollux.tdf>
Date:   Wed Sep 28 07:49:59 2016 +0200

    source 40fba0f4418084d50cc5c388cb0b6e1abe395d61

https://git.libreoffice.org/core/+/40fba0f4418084d50cc5c388cb0b6e1abe395d61
   GSoC Writer Table Styles Import
Comment 3 Stéphane Guillou (stragu) 2023-09-02 00:03:25 UTC
still reproduced in recent master build:

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

Offending commit made it into 5.3.