Bug 171032 - PDF exported in dark mode results with low-contrast yellow track changes anotations
Summary: PDF exported in dark mode results with low-contrast yellow track changes anot...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
26.2.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2026-02-26 10:10 UTC by Piotr Osada
Modified: 2026-03-20 03:16 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Document with tracked changes (15.37 KB, application/vnd.oasis.opendocument.text)
2026-02-26 10:12 UTC, Piotr Osada
Details
Tracked changes colors: bright vs dark mode UI (343.42 KB, image/png)
2026-02-26 10:19 UTC, Piotr Osada
Details
Tracked changes colors: Light vs. Dark mode UI (343.33 KB, image/png)
2026-02-26 10:32 UTC, Piotr Osada
Details
Exported PDFs comparison (141.93 KB, image/png)
2026-02-26 10:42 UTC, Piotr Osada
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Osada 2026-02-26 10:10:34 UTC
Pre-condition: Writer running in dark mode UI.

Steps:
1) Open a document with tracked changes from multiple authors.
2) View → Show Tracked Changes.
3) File → Export as PDF.

Actual result:
The exported PDF uses dark-mode-adapted colors for tracked changes markup. On the white PDF page background, several author colors (e.g. yellow, light green) have very low contrast and are barely readable.

Expected result:
PDF export should use the same tracked change colors regardless of the current UI theme.

Note: Exporting the same document from bright mode produces correct, readable colors. See attached screenshots and PDFs for comparison.

Version: 26.2.0.3 (X86_64)
Build ID: 620(Build:3)
CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win
Locale: en-US (pl_PL); UI: en-US
Calc: CL threaded
Comment 1 Piotr Osada 2026-02-26 10:12:49 UTC
Created attachment 205795 [details]
Document with tracked changes
Comment 2 Piotr Osada 2026-02-26 10:19:53 UTC
Created attachment 205796 [details]
Tracked changes colors: bright vs dark mode UI
Comment 3 Piotr Osada 2026-02-26 10:32:31 UTC
Created attachment 205797 [details]
Tracked changes colors: Light vs. Dark mode UI

Replace image to use correct terminology: Light (not bright).
Comment 4 Piotr Osada 2026-02-26 10:42:18 UTC
Created attachment 205798 [details]
Exported PDFs comparison
Comment 5 Noah deFer 2026-03-19 14:06:46 UTC
Hello Piotr,

Thank you for reporting the bug. I was able to reproduce it in
Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 38ea6c42fd0bfdb0904d182627229cf224c1b822
CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Version: 26.2.1.2 (X86_64)
Build ID: 620(Build:2)
CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded