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
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.
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
Suggest to make this a duplicate of bug 156685
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).
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