Description: If one enters a formula while writer is in dark mode, it is stored with white letters. Later when printing, it won't appear on paper (as it is white) and it does not follow when the writer is switched back to light mode. Steps to Reproduce: 1. Switch Gnome to dark mode (app follows) 2. Enter OLE formula 3. Print doc/export doc, it will be white on white paper 4. Switch DE to light mode, formulas will still be white Actual Results: Formulas stay white Expected Results: Formulas are printed in black and follow color schema Reproducible: Always User Profile Reset: Yes Additional Info: Version: 25.2.3.2 (X86_64) / LibreOffice Community Build ID: bbb074479178df812d175f709636b368952c2ce3 CPU threads: 8; OS: Linux 6.14; UI render: default; VCL: gtk3 Locale: de-DE (de_DE.UTF-8); UI: de-DE Flatpak Calc: threaded
Confirmed, likewise affecting recent builds of master against 25.8.0 No LO Appearance theme applied, just the os/DE provided 'System' color sense of Light or Dark scheme. Start from os/DE Dark sense. STR: 1. os/DE color sense Dark 2. LO in 'System' 3. Writer document bg responds with a dark document bg and light fg 4. insert OLE Formula, pick any from the sm Formula Elements -> Examples 5a. print preview, result? 5b. export to PDF, result? The OLE object gets a non-visible light fg on print/export, while document bg which correctly toggles to light for the print/export. Formula OLE is not readable. Normal Paragraph text correctly toggles and is visible. =-testing-= 20250426 TB77 nightly Version: 25.2.2.2 (X86_64) / LibreOffice Community Build ID: 7370d4be9e3cf6031a51beef54ff3bda878e3fac CPU threads: 28; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded Version: 25.2.3.2 (X86_64) / LibreOffice Community Build ID: bbb074479178df812d175f709636b368952c2ce3 CPU threads: 28; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
*** Bug 162408 has been marked as a duplicate of this bug. ***
Still happening in 25.2.4.3 Workaround as mentioned in https://ask.libreoffice.org/t/dark-theme-messing-with-formulas-text-color-white-on-white-when-print-export/109189/9 Tools > Update > Update All For example: Work in the dark theme, then before print/export, switch to light theme, Tools > Update > Update All If you don't see Update in Tools, make sure you're using the Standard Interface. In my case, I was using the Tabbed Interface and can't find it for hours until I tried switching to the Standard Interface. Version: 25.2.4.3 (X86_64) / LibreOffice Community Build ID: 33e196637044ead23f5c3226cde09b47731f7e27 CPU threads: 12; OS: Linux 6.14; UI render: default; VCL: kf5 (cairo+wayland) Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
This was corrected for 25.8.0 release and master against 26.2 [1], with addition of a "Use white document background" checkbox on the Tools -> Options -> Appearance panel (enabled by default). But it can not be backported to 25.2 branch as the appearance framework was refactored substantially with the 25.8 release. https://gerrit.libreoffice.org/c/core/+/185388