Bug 153686 - No "Automatic" color for table borders
Summary: No "Automatic" color for table borders
Status: RESOLVED DUPLICATE of bug 148675
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected) alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
Depends on:
Reported: 2023-02-17 11:25 UTC by Roman Kuznetsov
Modified: 2023-10-19 15:21 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Roman Kuznetsov 2023-02-17 11:25:21 UTC
Default color for table borders (in Writer and Calc at least) in dark mode should be white 

Steps to Reproduce:
0. Enable the dark mode for document using Tools-Options-LibreOffice-Appearance dialog (select LibreOfficeDark scheme there)
1. Open Writer
2. Insert a table
3. Select all table
4. Enable all table borders
5. Look at the table => the table borders color is black and you don't see the table on black page background at all

the same problem is in Calc: when you enable table borders they are black and you don't see it on black background of the sheet

ps: we don't have Auto color variant for table borders color...

Actual Results:
Default color for table borders in dark mode is black

Expected Results:
Default color for table borders in dark mode is white

Reproducible: Always

User Profile Reset: No

Additional Info:
Version: (X86_64) / LibreOffice Community
Build ID: c3bd52f81bf733a0b9b0560794a54b2ac1e0f444
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded
Comment 1 V Stuart Foote 2023-02-17 15:00:12 UTC
But note what happens if you clear the  'Line Arrangement' for the table removing the Borders (from the Table Properties dialog, or the Table toolbar, where they default to "Black").

You'll see that the layout marking boundaries *DO* correctly fg/bg toggle to be visible with the LibreOffice Dark color scheme's "Dark Gray 3" value for the 'Document background' and "Automatic" for the 'Table boundaries'

On creation of a new Table object its Borders are WYSIWYG "printable" default value "Black". It can be changed, but the color is not a UI value and we probably don't want its value to change to follow the UI.

So the disconnect seems to be not having a 'Table Borders' color distinct from 'Table boundaries' exposed in Application colors, to be able to theme the UI and respond to UI fg/bg tests, or to be set explicitly from a UI Color scheme.
Comment 2 Heiko Tietze 2023-02-20 14:41:16 UTC
Point is that the border color misses an Automatic color and adding it either without style or using some table style applies a black color. Now I wonder how easy it is to add Automatic to the color options. Mike, Caolan: got a code pointer at hand?
Comment 3 Timur 2023-08-31 11:25:53 UTC
This may be the same as bug 148675, Automatic table boundaries does not work as it does not exist.
Comment 4 Stéphane Guillou (stragu) 2023-10-19 15:21:15 UTC
(In reply to Timur from comment #3)
> This may be the same as bug 148675, Automatic table [borders] does not work
> as it does not exist.

Agreed, let's mark as a duplicate.

But we should point to Stuart's valid comment regarding printability.

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