Bug 170519 - [26.8] When pasting an image into a sheet, text color with highlight color in textbox is not reversed
Summary: [26.8] When pasting an image into a sheet, text color with highlight color in...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
26.8.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-28 20:01 UTC by nobu
Modified: 2026-01-28 20:03 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Sample GIF (349.23 KB, image/gif)
2026-01-28 20:02 UTC, nobu
Details
Sample ods (47.50 KB, application/vnd.oasis.opendocument.spreadsheet)
2026-01-28 20:03 UTC, nobu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nobu 2026-01-28 20:01:51 UTC
Description:
When pasting an image into a sheet, text color with highlight color in textbox is not reversed

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.
   This effect is the same as setting the cell's background color to red.
   In previous versions, it would remain black.
5. Copy the "range" containing the text box and paste it onto the sheet as an image (e.g. GDI).
   ( by dropdown-menu of paste-icon )

Actual Results:
6. The text color becomes black.

Expected Results:
6. The text color remains white, just like in the display.


Reproducible: Always


User Profile Reset: No

Additional Info:

Note that in Version 26.2, the text color doesn't invert during step [4].

Version 26.8 appears to have implemented the correct fix, but this still seems to be only partially complete.

---
Reproducible
[2026-01-17]
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: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded

Reproducible
[2026-01-27]
Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 92d2b40b62ba5bccf344f7610693d5937c8171db
CPU threads: 2; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: ja-JP (ja_JP.UTF-8); UI: ja-JP
Calc: threaded

---

In the next version, the on-screen text color won't invert like in older versions.
If pasted as an image, it will display identically to the screen.
From this perspective regarding image display consistency, it's accurate.

[2025-12-30]
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: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded

Version: 26.2.0.2 (X86_64)
Build ID: 620(Build:2)
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
Comment 1 nobu 2026-01-28 20:02:45 UTC
Created attachment 205237 [details]
Sample GIF
Comment 2 nobu 2026-01-28 20:03:11 UTC
Created attachment 205238 [details]
Sample ods