https://bugs.documentfoundation.org/show_bug.cgi?id=168710
Bug ID: 168710
Summary: Text color in chart (auto color) becomes invisible in
exported PDF when using dark theme UI
Product: LibreOffice
Version: 7.5.3.2 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: minor
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
(This issue may be design-related rather than a bug, but affects usability and
visual consistency.)
When editing a chart in LibreOffice Writer under a dark theme UI, text elements
such as chart titles, axis labels, and legend names appear correctly on screen
(white on dark background). However, when the document is exported as a PDF,
these texts become invisible because the color remains white against a white
background.
It seems that “Automatic” text color adapts to the UI theme in the editing
view, but this adaptation is not applied during PDF export — the color is
exported as-is (white).
Steps to Reproduce:
1. Open LibreOffice Writer (UI theme: Dark Mode enabled).
2. Insert → Chart.
3. Add a chart title and axis labels (keep text color set to “Automatic”).
4. Export the document to PDF.
5. Open the exported PDF and check the chart.
Actual Results:
The text in the chart (titles, labels, legend) is invisible in the exported
PDF.
Expected Results:
The automatic text color should adapt to the document background, or be
correctly rendered in the PDF output.
Reproducible: Always
User Profile Reset: No
Additional Info:
Workaround:
Manually setting the text color (e.g., black) in the chart resolves the issue.
Environment:
- LibreOffice version: 7.5.3.2 (x86_64)
- OS: Windows 11 Pro (Dark Mode enabled)
- Component: Writer (Chart object)
Suggested Enhancement:
Consider one of the following:
- Make “Automatic” text color theme-aware during PDF export.
- Or, decouple UI theme color from chart element colors to maintain WYSIWYG
consistency.
--
You are receiving this mail because:
You are the assignee for the bug.