Bug 156846 - Automatic Font color for DataTable is white instead black
Summary: Automatic Font color for DataTable is white instead black
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Options-Dialog-Colours
  Show dependency treegraph
 
Reported: 2023-08-21 17:47 UTC by Roman Kuznetsov
Modified: 2023-10-17 11:03 UTC (History)
5 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 Roman Kuznetsov 2023-08-21 17:47:23 UTC
Description:
Automatic Font color for DataTable is white instead black

Steps to Reproduce:
1. Create a chart in Calc
2. Make sure you are in chart edit mode
3. Select Insert-Data Table and check all options in opened dialog
4. Look at the chart => there is the Data Table below the chart but there are no any text in the cells.
5. Double click on the data table -> it opens Data Table dialog
6. Go to Font Effects tab
7. Select black font color in drop-down color palette and press OK button
8. Look at the data table below the chart => it looks as should, you will see the text in cells

Actual Results:
Automatic Font color for DataTable is white instead black

Expected Results:
Automatic Font color for DataTable is black


Reproducible: Always


User Profile Reset: No

Additional Info:
No repro in

Version: 7.6.0.3 (X86_64) / LibreOffice Community
Build ID: 69edd8b8ebc41d00b4de3915dc82f8f0fc3b6265
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL threaded

but repro in

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e26aeb882dd236adf19679d5df9b7ba5da1ed226
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL threaded

regression
Comment 1 Regina Henschel 2023-08-21 21:33:46 UTC
This is just another bug because of the threshold in bug 156182. With a threshold of 150 the text is black.

The situation is worse here, because there exists no workaround. The properties dialog for the data table offers an Area tab, but any value you set there is ignored. I also tried to edit the markup in file. I have added a default graphic style and I have added the graphic properties to the style of the data-table. Both styles are ignored.

Changing the new DefaultStyle for Graphic objects helps neither because it only affects objects in the sheet, but not in the chart. You could not even expect that it works, because a chart is a separate OLE object.

For me one more reason to use a different threshold in bug 156182.
Comment 2 raal 2023-08-21 21:50:05 UTC
This seems to have begun at the below commit in bibisect repository/OS linux-64-24.2.
Adding Cc: to Heiko Tietze ; Could you possibly take a look at this one?
Thanks
 c360bb4042d85a453b2cf898bf815aafb6afd4ad is the first bad commit
commit c360bb4042d85a453b2cf898bf815aafb6afd4ad
Author: Jenkins Build User <tdf@pollux.tdf>
Date:   Sat Jul 15 09:22:37 2023 +0200

    source ddb483509113e469b771320fea52f1b089574021

154352: Resolves tdf#156182 - Automatic text color unreadable with darker cells | https://gerrit.libreoffice.org/c/core/+/154352
Comment 3 Heiko Tietze 2023-08-24 14:16:50 UTC
Suggest to make this a duplicate of bug 156685
Comment 4 Heiko Tietze 2023-10-16 13:37:39 UTC
Resolved with https://gerrit.libreoffice.org/c/core/+/158024 (new contrast applies to all colors but Light Blue 2 aka Tango Sky, which is the default for object background).
Comment 5 Roman Kuznetsov 2023-10-17 11:03:14 UTC
Verified fixed in

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2247b00230e479e63ab996d4e1694b1d74aeba81
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL threaded

Thanks Heiko