Bug 146862 - VIEWING: If document background is set to black, Formula remains black in Writer
Summary: VIEWING: If document background is set to black, Formula remains black in Writer
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.5.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 154857 167773 167880 (view as bug list)
Depends on:
Blocks: OLE-Objects
  Show dependency treegraph
 
Reported: 2022-01-19 19:01 UTC by Silex
Modified: 2026-01-29 12:27 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Document shared by @Silex. (13.86 KB, application/vnd.oasis.opendocument.text)
2022-01-25 11:39 UTC, LeroyG
Details
A document with a formula testing multiple font colors, and anchor options (265.67 KB, application/vnd.oasis.opendocument.text)
2022-01-26 16:52 UTC, LeroyG
Details
PDF from the previous .odt document (27.96 KB, application/pdf)
2022-01-26 16:54 UTC, LeroyG
Details
Screenshot with background color set to black (59.59 KB, image/png)
2022-01-26 16:55 UTC, LeroyG
Details
Thumbnail of the document in the start center (19.23 KB, image/png)
2022-01-26 16:57 UTC, LeroyG
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Silex 2022-01-19 19:01:31 UTC
Description:
La raya de división es siempre negra pero con el color negro de fondo no se ve.
Dicha raya debería tener el mismo color que la letra.

Actual Results:
Crea fórmula con división, cambia color de fondo a negro y letra blanca, la raya de división desaparece.

Expected Results:
No se ve la raya de división


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: es
Module: TextDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no
Comment 1 m_a_riosv 2022-01-21 21:47:11 UTC
Please this site use English as language.
"""""""""""""""""
Description:
The division stripe is always black, but with the black background colour it is not visible.
It should have the same colour as the letter.

Actual Results:
Creates formula with division, changes background colour to black and white font, the division stripe disappears.

Expected Results:
No division line is visible.
"""""""""""""""""

And pls again attach a sample file showing the issue.
Copy with the information about OS and version with the button in Menu/Help/About LibreOffice.
Comment 2 LeroyG 2022-01-23 15:46:36 UTC
"but with the black background colour it is not visible."

How do you set the background to black? Page, paragraph, Document background (Application Colors)?


What is "division stripe"? "over", "frac", "/"?
Comment 3 LeroyG 2022-01-24 16:23:01 UTC
Aditional info e-mailed by @Silex:

  Alt F12 / aplication colors / application background: “black”
  Alt F12 / aplication colors / letter color: “white”
  D’ont work in formula / anchor: “paragraph” and “to the character”
  Work well: “as character”

For LibreOffice 7.1.8.1 on Windows 10, the formula remains all black.

@Silex: Can you add an attachment with the formula. Thanks.
Comment 4 LeroyG 2022-01-25 11:39:44 UTC
Created attachment 177769 [details]
Document shared by @Silex.

generator: LibreOffice/7.2.5.2$Windows_X86_64 LibreOffice_project/499f9727c189e6ef3471021d6132d4c694f357e5

When I (LeroyG) open the file, I can see all three formulas in a greenish white color.
While I edit a formula, I see it in white color.
After leaving edit mode for each formula, it becames all black.

If I create a new file with a formula, formula shows all black, no matter if I reload it.
Comment 5 LeroyG 2022-01-25 12:39:28 UTC
Version 7.1.8.1
The formula retains the Font color set when it was last edited.
If Font color (Alt+F12 - LibreOffice - Application Colors) value is Automatic, formulas are shown in black.
Change Font color to Green: all text shows in green, but formulas remains black.
Edit a formula, and it becomes green also.
Change Font color to Red: all text shows in red, but formulas remains black and green (as shown previously). Edit a formula, and it becomes red.
Comment 6 LeroyG 2022-01-26 01:15:51 UTC
If Font color (Alt+F12 - LibreOffice - Application Colors) value is White, formulas are shown in black.

Reproducible also with:
Version: 7.1.8.1 / LibreOffice Community
Build ID: e1f30c802c3269a1d052614453f260e49458c82c
CPU threads: 1; OS: Linux 4.12; UI render: default; VCL: x11
Locale: es-MX (es_AR.UTF-8); UI: en-US
Calc: threaded
Comment 7 LeroyG 2022-01-26 16:52:42 UTC
Created attachment 177810 [details]
A document with a formula testing multiple font colors, and anchor options

Test made with all "Light xxxx 4" (and a few other) colors of the standard color pallete.

For Font Color values of Automatic, White and Light Yellow 4, the formula is shown in black.

There may be other light colors with the same result.
Comment 8 LeroyG 2022-01-26 16:54:02 UTC
Created attachment 177811 [details]
PDF from the previous .odt document
Comment 9 LeroyG 2022-01-26 16:55:10 UTC
Created attachment 177812 [details]
Screenshot with background color set to black
Comment 10 LeroyG 2022-01-26 16:57:37 UTC
Created attachment 177813 [details]
Thumbnail of the document in the start center

It can be seen the lines 1, 2 and 4 of the table with black font color.
Comment 11 LeroyG 2022-01-26 17:13:25 UTC
In the sample file attached at comment 4, toggling the Edit Mode (Ctrl+Shift+M) make all formulas take the actual font color.

Not reproducible in the sample file attached at comment 7.
Comment 12 QA Administrators 2024-01-27 03:14:49 UTC Comment hidden (obsolete)
Comment 13 Buovjaga 2026-01-29 12:25:39 UTC
*** Bug 154857 has been marked as a duplicate of this bug. ***
Comment 14 Buovjaga 2026-01-29 12:27:05 UTC
*** Bug 167880 has been marked as a duplicate of this bug. ***
Comment 15 Buovjaga 2026-01-29 12:27:19 UTC
*** Bug 167773 has been marked as a duplicate of this bug. ***