Bug 151981

Summary: Gray background and text color of the fields should change with the dark colour scheme
Product: LibreOffice Reporter: Hossein <hossein>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: miguelangelrv, vsfoote
Priority: medium    
Version: 7.5.0.0 alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=155399
https://bugs.documentfoundation.org/show_bug.cgi?id=160160
https://bugs.documentfoundation.org/show_bug.cgi?id=158032
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 142074, 143344, 150915    
Attachments: Fields in the LibreOffice dark mode
Fields in the LibreOffice light mode
Fields in the MS Office 2019 dark mode
LO in dark mode with Accessibility -> 'Use automatic font color for screen display' set

Description Hossein 2022-11-09 18:06:24 UTC
Created attachment 183505 [details]
Fields in the LibreOffice dark mode

Description:
Open attachment 182846 [details] from tdf#151364 which is a DOCX file containing several fields. The gray background and color of the text in the fields remain the same when you change the color theme to dark. This is annoying while working in the dark mode.

Steps to Reproduce:
1- Open DOCX attachment
2- Go to "Tools" > "Options" > "Application Colors". Change "Color Scheme" from "LibreOffice" to "LibreOffice Dark".

Actual Results:
The gray background and color of the text in the fields remain the same.

Expected Results:
The background and color of the text in the fields should change according to the dark theme, so that they remain consistent with the dark color scheme.

Reproducible: Always


User Profile Reset: No


Additional Info:

Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a0dec4bc9a48b263be182ad7bbe4ba3f8cbb27e1
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Hossein 2022-11-09 18:07:09 UTC
Created attachment 183506 [details]
Fields in the LibreOffice light mode
Comment 2 Hossein 2022-11-09 18:08:42 UTC
Created attachment 183507 [details]
Fields in the MS Office 2019 dark mode
Comment 3 m_a_riosv 2022-11-09 23:31:56 UTC
Sorry, but there is no docx attachment. All are png files.
Comment 4 Hossein 2022-11-09 23:43:05 UTC
(In reply to m.a.riosv from comment #3)
> Sorry, but there is no docx attachment. All are png files.
You should open attachment 182846 [details]. It is linked in the description.
Comment 5 m_a_riosv 2022-11-10 00:23:04 UTC
Sorry @Hossein, reading too quick.
Reproducible.
Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ddb8a1a282aae74c1cee3a5e1f446abd0c00b116
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
Comment 6 V Stuart Foote 2022-11-12 02:21:34 UTC
Probably not what you want (i.e. dynamic fg/bg theme adjustments) but we already have functional handling now if you set the Tools -> Options -> Accessibility 'Use automatic font color for screen display'.  Not checked active by default.

=> WFM, but room to improve the "granularity" of the UI elements defined in Application Colors, to define per LO module themes, and to provide better UI for users to build their own color themes and by-pass os/DE provided themes.

bug 151816, bug 133736
Comment 7 V Stuart Foote 2022-11-12 02:26:46 UTC
Created attachment 183549 [details]
LO in dark mode with Accessibility -> 'Use automatic font color for screen display' set