Bug 145159 - Text unreadable in Calc's dark theme in page style header text editor
Summary: Text unreadable in Calc's dark theme in page style header text editor
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.2.2.2 release
Hardware: All All
: medium normal
Assignee: Heiko Tietze
URL:
Whiteboard: target:7.5.0 target:7.4.2
Keywords:
Depends on:
Blocks: UI-Theming
  Show dependency treegraph
 
Reported: 2021-10-15 18:59 UTC by Toni_Rocha
Modified: 2022-09-09 19:27 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Text is black in dark background color of the text editor. (32.30 KB, image/png)
2021-10-15 18:59 UTC, Toni_Rocha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toni_Rocha 2021-10-15 18:59:43 UTC
Created attachment 175768 [details]
Text is black in dark background color of the text editor.

The text in dark theme in Libre Office Calc when I'm editing the text header by "format page > page style > header > edit..." is black and hard to read because the dark background color of the text editor (KDE Neon 5.23).
Comment 1 Roman Kuznetsov 2022-08-26 13:07:16 UTC
Confirm with active system dark mode in

Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 24087697d5cf78aac346d4dcea0596373e15a95c
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded

Heiko, do you have any idea about fix of this problem?
Comment 2 Heiko Tietze 2022-08-29 09:48:27 UTC
Will look into this issue. 

sc/source/ui/pagedlg/scuitphfedit.cxx and ScEditWindow in sc/source/ui/pagedlg/tphfedit.cxx are the code pointers.
Comment 3 Commit Notification 2022-08-30 12:56:18 UTC
Heiko Tietze committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/9ddbae9c65e795e9122c43eea0b4fa3a4d118939

Resolves tdf#145159 - Use display colors in Header/Footer dialog

It will be available in 7.5.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Heiko Tietze 2022-08-30 13:18:54 UTC
90% kudos to Caolán ;-)
Comment 5 Commit Notification 2022-09-07 06:27:02 UTC
Heiko Tietze committed a patch related to this issue.
It has been pushed to "libreoffice-7-4":

https://git.libreoffice.org/core/commit/695dc7484afd2af9c88b3d1032a6a4bbadecaefa

Resolves tdf#145159 - Use display colors in Header/Footer dialog

It will be available in 7.4.2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 BogdanB 2022-09-09 19:27:18 UTC
It's ok now

White in 
Version: 7.4.2.0.0+ / LibreOffice Community
Build ID: 26d2a8d9a70255f2211f4256f27286653fbfba44
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

Black in
Version: 7.4.0.2 / LibreOffice Community
Build ID: 1512ce97d7ed39dce3121f7e15651fd8895f950e
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded