Bug 151389

Summary: URL default color unreadable with black-background theme
Product: LibreOffice Reporter: dhina <dhinaghena>
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: lo
Priority: medium    
Version: 7.4.1.2 release   
Hardware: All   
OS: iOS   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 118017    
Attachments: URL written
URL written + recognized (after having pressed the space bar)
URL written + recognized + clicked outside the text box --> the URL default color is wrong

Description dhina 2022-10-06 15:33:22 UTC
Description:
When an URL is automatically detected in a text, its color is changed to a default color. This default color is unreadable with black-background theme.

Steps to Reproduce:
1. File > New > Presentation
2. Chose the Portfolio theme (or any dark background)
3. Write an URL in one of the text box, e.g. https://www.libreoffice.org/ and press the space bar to make it recognize as an URL by freeoffice

Actual Results:
The color of the URL changes to a default dark blue

Expected Results:
The color of the URL should be a light color (as compared to the black background)


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.4.1.2 / LibreOffice Community
Build ID: 3c58a8f3a960df8bc8fd77b461821e42c061c5f0
CPU threads: 8; OS: Mac OS X 10.15.7; UI render: default; VCL: osx
Locale: fr-FR (en_FR.UTF-8); UI: en-US
Calc: threaded
Comment 1 dhina 2022-10-06 15:34:56 UTC
I forgot point 4 in the "steps to Reproduce":
1. File > New > Presentation
2. Chose the Portfolio theme (or any dark background)
3. Write an URL in one of the text box, e.g. https://www.libreoffice.org/ and press the space bar to make it recognize as an URL by freeoffice
4. Click outside the text box
Comment 2 dhina 2022-10-06 15:36:14 UTC
Created attachment 182874 [details]
URL written
Comment 3 dhina 2022-10-06 15:37:24 UTC
Created attachment 182875 [details]
URL written + recognized (after having pressed the space bar)
Comment 4 dhina 2022-10-06 15:38:29 UTC
Created attachment 182876 [details]
URL written + recognized + clicked outside the text box --> the URL default color is wrong
Comment 5 dhina 2022-11-28 11:30:05 UTC
Solved following Caolán McNamara's fix (#152183)

Tested on:

Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 360b5861fb46353e7a6b9f5abf13339cd719a8df
CPU threads: 8; OS: Mac OS X 10.15.7; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_FR.UTF-8); UI: en-US
Calc: threaded