Bug 92234 - Table style needs UI to alter first/odd/even/last/header row background colours
Summary: Table style needs UI to alter first/odd/even/last/header row background colours
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Table-AutoFormat
  Show dependency treegraph
 
Reported: 2015-06-21 21:19 UTC by Axel Bock
Modified: 2022-11-22 08:34 UTC (History)
4 users (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 Axel Bock 2015-06-21 21:19:11 UTC
If you 

Steps to reproduce: 

1. Create a table
2. Format alternating table rows using:
  2.1 Select a full table row
  2.2 "Table" properties
  2.3 "Background" tab
  2.4 IMPORTANT!! "As: 'color' For: 'row'" IMPORTANT
  2.5 choose different color
  2.6 repeat for all odd (or even) lines
3. Close properties
4. Place cursor in table
5. Click on "Table Autoformat", then "New", enter name
6. Try to format a new table with the autoformat.

Result:
The table will not have any row background colors.

Expected result: 
Alternating row background colors.
Comment 1 Alex Thurgood 2015-06-22 07:13:02 UTC
Confirming on

Version: 5.1.0.0.alpha1+
Build ID: 843f7335b2e11dde66d5f6e0f98b98e30eff7119
Locale : fr-FR (fr.UTF-8)

OSX 10.10.3

You can see that the colour formatting options are not retained just after saving the new Autofromat profile, as this is highlighted and shows no background colouring.
Comment 2 Alex Thurgood 2015-06-22 07:21:37 UTC
This kind of works in 

Version: 4.4.3.2
Build ID: 88805f81e9fe61362df02b9941de8e38a9b5fd16
Locale : fr_

at least the first row gets coloured with the chosen background colour, however, alternating rows are not coloured. This can also be seen in the AutoFormat preview.

regression : as the situation is worse now, than with the above version.
Comment 3 Robinson Tryon (qubit) 2015-12-10 01:26:18 UTC Comment hidden (obsolete)
Comment 4 Zineta 2017-07-19 12:45:09 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2018-10-18 02:49:21 UTC Comment hidden (obsolete)
Comment 6 Zineta 2018-10-30 11:33:25 UTC
Still repro:

Version: 6.2.0.0.alpha0+ (x64) Win7

Applied  AutoFormat Style with every odd row is blue colored,  only one row of three  was colored in new table.
Comment 7 QA Administrators 2019-10-31 03:36:22 UTC Comment hidden (obsolete)
Comment 8 Axel Bock 2020-01-03 08:31:23 UTC
LibreOffice 6.3.0.4 - became worse. "Add" adds a complete empty table autoformat now, no rows are colored (Mac).

LibreOffice 6.3.4 - same. No effect on "Add" in "AutoFormat Styles".

Preview shows fully white table as well in both cases.
Comment 9 Axel Bock 2020-01-03 08:33:03 UTC Comment hidden (obsolete)
Comment 10 Justin L 2020-07-02 18:23:11 UTC
A human can infer the intention of alternating coloured rows, but the computer needs it distinctly spelled out. What should happen for a larger/smaller table? What happens for first row, last row, header rows?

So the background tab probably needs to be expanded to allow table-style specific row-types in order to allow the user to properly control a custom style.
Comment 11 Timur 2022-05-31 12:00:57 UTC
*** Bug 149360 has been marked as a duplicate of this bug. ***
Comment 12 Timur 2022-06-01 07:44:41 UTC Comment hidden (obsolete)