Bug 146656 - Table styles should update themselves according to the template
Summary: Table styles should update themselves according to the template
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.4.1 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Templates Writer-Tables-Style
  Show dependency treegraph
 
Reported: 2022-01-08 19:03 UTC by John
Modified: 2022-01-23 06:32 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John 2022-01-08 19:03:21 UTC
Description:
If you create 3 tables, apply Academic table style to each of them, then add the background color to the 3rd table, and then update Academic style according to the 3rd table, the background color will be added to the 1st and 2nd tables as well.

This is great.

But table styles are somewhat broken if you try to use them in your custom templates. Here is what I mean:

1. Create a custom template and save it in the LO templates directory. The template should contain a table with modified Academic style (you should add yellow background to it). Close that template.

2. Then create a document based on it, and save it somewhere. The document should contain 3 tables that are formatted by using the modified, "yellow", Academic style. Close it.

3. Open your template and change the background color of Academic style to green. Close it.

4. Open your document from the step 2. Although you will see the "Update styles / Keep Old Styles" window, the template styles won't be updates. So the "academic" tables in your documents will stay yellow, not green.

Steps to Reproduce:
-

Actual Results:
-

Expected Results:
-


Reproducible: Always


User Profile Reset: No



Additional Info:
-
Comment 1 Dieter 2022-01-23 06:32:56 UTC
I confirm it with

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 151c56ed547490a99d912524c0e56b5d6d4a1939
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

AFAIK table styles are not implemented in the same way, than other styles (see bug 105933). Might be related to that problem.