Bug 167773 - OLE object in dark theme
Summary: OLE object in dark theme
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.5.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-02 07:18 UTC by Lubos
Modified: 2025-11-02 14:26 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Result of bug not showing OLE objects in the right colour when in dark theme (57.86 KB, image/png)
2025-11-01 17:07 UTC, Andras Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lubos 2025-08-02 07:18:18 UTC
Description:
Problem with printing OLE objects in dark theme in LibreOffice Writer. 

Steps to Reproduce:
1.After inserting an OLE object in the dark theme of LibreOffice Writer, the OLE object is not displayed in the print preview.
2.The OLE object is not printed correctly.

Actual Results:
The OLE object is not visible in the print preview and will not be printed.

Expected Results:
After inserting an OLE object in the dark theme of LibreOffice Writer, the OLE object will be displayed correctly in Print Preview and the OLE object will be printed correctly.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 25.2.5.2 (X86_64) / LibreOffice Community
Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022
CPU threads: 12; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: sk-SK (sk_SK.UTF-8); UI: en-US
Calc: threaded
Comment 1 Olivier Hallot 2025-08-06 14:17:41 UTC
Cannot confirm.

Can you please add a sample file where the issue happens? Please indicate the OLE object nature.

An image of the resulting issue can help us narrowing the problem.

Version: 25.2.5.2 (X86_64) / LibreOffice Community
Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022
CPU threads: 12; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: pt-BR (pt_BR.UTF-8); UI: pt-BR
Calc: threaded
Comment 2 Lubos 2025-08-12 07:15:52 UTC
(In reply to Olivier Hallot from comment #1)
> Cannot confirm.
> 
> Can you please add a sample file where the issue happens? Please indicate
> the OLE object nature.
> 
> An image of the resulting issue can help us narrowing the problem.
> 
> Version: 25.2.5.2 (X86_64) / LibreOffice Community
> Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022
> CPU threads: 12; OS: Linux 6.14; UI render: default; VCL: gtk3
> Locale: pt-BR (pt_BR.UTF-8); UI: pt-BR
> Calc: threaded

It's a problem in every document.
Steps:
1. Tools - Options - Appearance - Dark
2. Insert - OLE Object - Formula Object
3. Select any Elements (for example, Unary/Binary Operators) and create a formula
4. File - Print Preview (The OLE object will not be displayed).
5. File - Print (The OLE object will not be printed).

OLE objects work fine in light themes, but not in dark ones.
Comment 3 Andras Simon 2025-11-01 17:07:53 UTC
Created attachment 203668 [details]
Result of bug not showing OLE objects in the right colour when in dark theme

I agree that this is a bug that appears in each case. I experienced with inserted formulas. Most certainly, the OLE object has a font colour set to automatic, which is white in dark themes, and that leads to remain white in the print preview or even in an exported PDF. Because I checked what happens when I export it, and the result was exactly, that it contained the formula, but only its colour was white, and therefore wasn't visible on the white background.