Bug 170548 - When arranging multiple text boxes and generating a PDF output, the highlighted text color may not invert
Summary: When arranging multiple text boxes and generating a PDF output, the highlight...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-31 02:43 UTC by nobu
Modified: 2026-01-31 02:47 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Sample ods (18.00 KB, application/vnd.oasis.opendocument.spreadsheet)
2026-01-31 02:46 UTC, nobu
Details
Sample PDF (24.84 KB, application/pdf)
2026-01-31 02:47 UTC, nobu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nobu 2026-01-31 02:43:44 UTC
Description:
When arranging multiple text boxes and generating a PDF output, the highlighted text color may not invert.

Steps to Reproduce:
1. Open new Calc. ( with light theme )
2. Create Textbox, and insert text "Red".
3. Apply highlight-color red to the text.
4. Text color changes to White.
5. Copy the created text boxes and paste them below the original in sequence about 10 times.
6. Export the sheet as a PDF.
   No special settings are required.

Actual Results:
7. Some text boxes have black text instead of white.
   In some cases, all text colors may appear black.

Expected Results:
7. All text colors should remain white, matching the screen display.


Reproducible: Always


User Profile Reset: No

Additional Info:

This is a guaranteed procedure to reliably reproduce the issue, though even with a single text box, the issue may still occur.

The exact pattern of occurrence was unclear.

In fact, the partially incorrect text color display is already visible in the print preview.

Until Version 25.8, there appears to be no automatic functionality to invert text colors when a highlight color is set.

Reproducible
Version: 26.2.0.3 (X86_64)
Build ID: 620(Build:3)
CPU threads: 4; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded

Reproducible
[2026-01-29]
Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 680(Build:0)
CPU threads: 4; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: en-US (ja_JP); UI: en-US
Calc: CL threaded

Reproducible
[2026-01-28]
Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 5a5af7828cbad8607fbb29e26b5131fd852d9384
CPU threads: 2; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: ja-JP (ja_JP.UTF-8); UI: en-US
Calc: threaded
Comment 1 nobu 2026-01-31 02:46:07 UTC
Created attachment 205285 [details]
Sample ods
Comment 2 nobu 2026-01-31 02:47:35 UTC
Created attachment 205286 [details]
Sample PDF