Bug 143234 - Writer Table: Split Cells resets the borders and background color if table style is applied
Summary: Writer Table: Split Cells resets the borders and background color if table st...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.0.3 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Writer-Tables
  Show dependency treegraph
 
Reported: 2021-07-07 13:14 UTC by Kamil Landa
Modified: 2023-09-08 13:25 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
example for reseted borders after Split Cell (47.94 KB, application/vnd.oasis.opendocument.text)
2021-07-07 13:14 UTC, Kamil Landa
Details

Note You need to log in before you can comment on or make changes to this bug.
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.