Reproduction instructions: 1. In Calc, navigate to Tools > Options > LibreOffice > Appearance 2. Choose the Dark theme (and ensure no other UI customizations). 3. Enter some data. 4. Create a Column-type chart using your data 5. Make sure there are labels, e.g. a Legend and Axis labels 6. Leave the Chart area by double-clicking outside of it. 7. (Possibly) resize the chart Expected results: Chart labels appear in White, or nearly-white, color over the dark background, both when the Chart window is active and when outside of it, in Calc. Actual results: When leaving the Chart for Calc, sometimes the label text becomes black; at other times, the labels don't turn black, but resizing the chart makes them black. Build info: Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 7ef1c437f30b0869a5b9fa33809bac2c6665ace3 CPU threads: 4; OS: Linux 6.12; UI render: default; VCL: gtk3 Locale: en-IL (en_IL); UI: en-US Calc: CL threaded
Created attachment 202086 [details] Calc 26.2 Dark - within new chart
Created attachment 202087 [details] Calc 26.2 Dark - after exiting new chart
Thank you for reporting the bug. I can confirm that the bug is present in Version: 25.8.0.4 (X86_64) Build ID: 48f00303701489684e67c38c28aff00cd5929e67 CPU threads: 12; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
This was changed in 24.8 with https://gerrit.libreoffice.org/c/core/+/164142 to make chart bacground follow document background: commit 4edcd840aef4d1b594beecb44a0edbc0cdf5e5aa Author: Caolán McNamara <caolan.mcnamara@collabora.com> Date: Thu Feb 29 09:39:02 2024 +0000 set default if no ViewShell yet
Note https://gerrit.libreoffice.org/c/core/+/197108 .
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/aa89c0830b5cd471a4ba23aa3410b864aae21ddf tdf#167737 chart renders text black on black in dark mode It will be available in 26.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Looks good to me, bibisect repo is updated.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-26-2": https://git.libreoffice.org/core/commit/bb7152a06685c0710759c0a5701e636b192d76a2 tdf#167737 chart renders text black on black in dark mode It will be available in 26.2.0.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-25-8": https://git.libreoffice.org/core/commit/afc4cf308b02a65b3396ea2e86296272e10b3c88 tdf#167737 chart renders text black on black in dark mode It will be available in 25.8.5. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.