Bug 150152 - Table style reset and wrong styling when new row inserted
Summary: Table style reset and wrong styling when new row inserted
Status: RESOLVED DUPLICATE of bug 126008
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.7.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables-Style
  Show dependency treegraph
 
Reported: 2022-07-26 12:48 UTC by jan
Modified: 2022-09-05 08:02 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Table before new row is added (17.26 KB, image/png)
2022-07-26 12:49 UTC, jan
Details
Table after new row was added (17.19 KB, image/png)
2022-07-26 12:50 UTC, jan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jan 2022-07-26 12:48:26 UTC
Description:
If a new row is added to table which uses some predefined style with custom padding value, then padding is lost, new row has a wrong style and undo doesn't work properly.

Steps to Reproduce:
1. create a table with several lines
2. set table style via "Styly automatického formátu" (automatic format styles?)
3. select "Jednoduché řádky" (simple lines?)
4. change table cell padding via "Vlastnosti tabulky" (table properties?)
5. go to the last table row
6. press "Řadky pod" (rows under?) to add one more row

Actual Results:
Table losts padding settings and the new row has a wrong style (eg. background color). 

Expected Results:
New row is added withou any changes to table style. New row has a correct style (correct background). 


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.7.2 (x64) / LibreOffice Community
Build ID: 8d71d29d553c0f7dcbfa38fbfda25ee34cce99a2
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: cs-CZ (cs_CZ); UI: cs-CZ
Calc: threaded
Comment 1 jan 2022-07-26 12:49:57 UTC
Created attachment 181419 [details]
Table before new row is added
Comment 2 jan 2022-07-26 12:50:26 UTC
Created attachment 181420 [details]
Table after new row was added
Comment 3 Rafael Lima 2022-07-26 14:08:15 UTC
Repro with

Version: 7.3.4.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.4-0ubuntu0.22.04.1
Calc: threaded

Any direct formatting (DF) is lost after inserting a new row. Even if you format the text in the table, if you add a new row the formatting will be lost.

It seems the table style has precedence over DF and I'm not sure it is the expected behavior.
Comment 4 Rafael Lima 2022-07-26 14:13:26 UTC
Maybe a duplicate of bug 126008 ?
Comment 5 Timur 2022-09-05 08:02:22 UTC

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