Bug 158032

Summary: Hyperlinks should automatically render with lighter colors when using the system dark theme color scheme for documents
Product: LibreOffice Reporter: Jeff Fortin Tam <nekohayo>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: kira.tubo
Priority: medium    
Version: 7.6.2.1 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=160160
https://bugs.documentfoundation.org/show_bug.cgi?id=151981
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 143344, 153293    
Attachments: Screenshot
7.5.5.2 dark mode scheme

Description Jeff Fortin Tam 2023-11-01 21:29:11 UTC
Created attachment 190595 [details]
Screenshot

In the Options/Preferences, in "LibreOffice > Application Colors", if the color scheme is "Automatic" with "System Theme", Writer (and other applications, like Calc) will automatically change the color scheme when the operating system switches to dark theme mode.

This mostly works, except hyperlinks in contents, that are still rendered with their traditional dark-blue and dark-red colors (see attached screenshot).

Instead, they should use lighter colors specific to the dark theme. Firefox's "Reader" mode does this, for example (it uses a lighter blue for hyperlinks when in dark mode).

This should affect only on-screen rendering, not printing or PDF export.

---

Tested on version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: fr-CA (en_CA.UTF-8); UI: en-US
Flatpak
Calc: threaded
Comment 1 Kira Tubo 2023-11-16 06:25:48 UTC
Created attachment 190856 [details]
7.5.5.2 dark mode scheme

Reproduced in 24.2. 

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 676e0527d2f31556eccae314fbb12ce204f02ec7
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Interestingly in 7.5.5.2, if you select "LibreOffice Dark" scheme, the visited/unvisited link colors automatically still default to dark blue/red. However, some good color suggestions are provided, though you still have to manually check the checkboxes next to them and apply the changes. 

Version: 7.5.5.2 (X86_64) / LibreOffice Community
Build ID: ca8fe7424262805f223b9a2334bc7181abbcbf5e
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded