https://bugs.documentfoundation.org/show_bug.cgi?id=166069
Bug ID: 166069 Summary: Dark mode and document color settings don't match the background of elements Product: LibreOffice Version: 25.2.2.2 release Hardware: x86-64 (AMD64) OS: Linux (All) Status: UNCONFIRMED Severity: normal Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: enriquer...@proton.me Description: When LibreOffice is in dark mode and the document's background is manually changed to white, certain elements of the document (specifically the Table of Contents and page numbers) appear with an incorrect background color. - Table of Contents: The background color of the Table of Contents appears black instead of transparent or matching the document background color (white). - Page Numbers: The background of the page numbers also appears with a grey color, which is inconsistent with the rest of the document when using a white background. Steps to Reproduce: 1. Switch to dark mode from the application’s theme settings. 2. Change the document's background color to white (using Format > Page > Background > Color). 3. Insert a Table of Contents (using Insert > Table of Contents). 4. Insert page numbers (Insert > Fields > Page Number). Actual Results: The Table of Contents appears with a black background. The page numbers have a grey background. When printing or converting the document to PDF, the background for both the Table of Contents and page numbers appears transparent, as expected. Expected Results: The background of the Table of Contents and page numbers should match the document background color (white or light grey) or be transparent. The document should render consistently, with no mismatched background colors for these elements. Reproducible: Always User Profile Reset: Yes Additional Info: Version: 25.2.2.2 (X86_64) / LibreOffice Community Build ID: 520(Build:2) CPU threads: 12; OS: Linux 6.14; UI render: default; VCL: gtk3 Locale: de-DE (de_DE.UTF-8); UI: de-DE 25.2.2-1 Calc: threaded -- You are receiving this mail because: You are the assignee for the bug.