Bug 152616 - Colours in HTML Source view contrast badly in OS dark mode
Summary: Colours in HTML Source view contrast badly in OS dark mode
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer Web (show other bugs)
Version:
(earliest affected)
6.3.6.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks: a11y, Accessibility UI-Theming Writer-Web-Layout
  Show dependency treegraph
 
Reported: 2022-12-20 13:10 UTC by Stéphane Guillou (stragu)
Modified: 2022-12-20 17:08 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of issue for GNOME dark mode and LO 7.6 (41.73 KB, image/png)
2022-12-20 13:10 UTC, Stéphane Guillou (stragu)
Details
defaults for Writer Web clip Win10 in dark theme (81.71 KB, image/png)
2022-12-20 17:08 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Guillou (stragu) 2022-12-20 13:10:36 UTC
Created attachment 184266 [details]
Screenshot of issue for GNOME dark mode and LO 7.6

Steps:
0. Use the operating system's dark mode
1. Open Writer
2. File > New > HTML document (now using the Writer/Wed editor)
3. Write a couple of words
4. View > HTML source

Results:
Poor choice of colours (e.g. black on dark grey, or bright blue), bad contrast makes it hard to read.
Changing the Application Colours to "LibreOffice Dark" has no effect.

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ad387d5b984c6666906505d25685065f710ed55d
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

and

Version: 6.3.6.2
Build ID: 2196df99b074d8a661f4036fca8fa0cbfa33a497
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3; 
Locale: en-AU (en_AU.UTF-8); UI-Language: en-US
Calc: threaded

Same on Windows:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9b46020c262045aed0beace4708565235c2523cc
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded

LO 6.2 used to use red instead of black, which in my opinion was a little easier to read but obviously a bad choice.

Aware of the argument to entirely remove Writer/Web in bug 95861 but in absence of moving forward with it, this is an accessibility issue.
Comment 1 V Stuart Foote 2022-12-20 17:08:24 UTC
Created attachment 184272 [details]
defaults for Writer Web clip Win10 in dark theme

confirmed

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 98f0dd5e15733ac7f1d929d06ab230b5f04121d5
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded