Bug 148247

Summary: LO dark scheme: wrong text color and background in slide show and active text boxes
Product: LibreOffice Reporter: dhina <dhinaghena>
Component: LibreOfficeAssignee: Caolán McNamara <caolan.mcnamara>
Status: RESOLVED FIXED    
Severity: normal    
Priority: medium    
Version: 7.3.1.3 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=148140
Whiteboard: target:7.5.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 143344, 150915    
Attachments: "Current slide" background should be black
Text should be white when cursor clicked inside the text box

Description dhina 2022-03-29 12:15:37 UTC
Description:
The LO dark scheme is not taken into account properly in the following cases:

1) Text boxes: 
Text color in text boxes becomes dark when the cursor is clicked inside the text box or while typing, which makes the text almost illegible over the black background. Happens E.g. in LO Writer or LO Impress with text BOXES.

2) Slide show
In slide show, the background color of the current slide switches to white background.

Steps to Reproduce:
1. LibreOffice preferences > Application colors > Scheme > LibreOffice Dark
2. Open a new presentation in LibreOffice
3. Write something in the title box

4a. Don't click outside the text box after having written
4b. Slide Show > Start from first slide

Actual Results:
4a. It change the white text color to dark grey which is very difficult to read

4b. In slide show mode, the dark background switches to white, so all your white text are illegible.

Expected Results:
4a. Text should remain with a light color to be readable with a dark background

4b. The background should remain black


Reproducible: Always


User Profile Reset: No



Additional Info:
Tested on macOS 10.15.7 on both LO Writer (text boxes) and LO Impress (text boxes and slide show).

Version: 7.3.1.3 / LibreOffice Community
Build ID: a69ca51ded25f3eefd52d7bf9a5fad8c90b87951
CPU threads: 8; OS: Mac OS X 10.15.7; UI render: default; VCL: osx
Locale: en-GB (en_FR.UTF-8); UI: en-US
Calc: threaded
Comment 1 dhina 2022-03-29 16:49:04 UTC
Created attachment 179188 [details]
"Current slide" background should be black
Comment 2 dhina 2022-03-29 16:50:08 UTC
Created attachment 179189 [details]
Text should be white when cursor clicked inside the text box
Comment 3 dhina 2022-03-29 16:54:29 UTC
For the text box issue, it is a duplicate of bug #148140
Comment 4 Caolán McNamara 2022-11-08 14:06:09 UTC
can certainly confirm the full-screen presentation issue
Comment 5 Caolán McNamara 2022-11-13 17:27:03 UTC
pushed fix for this with wrong bug id :-(

Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/d39303f7ea696d36c4ab65286d4b7d8d1bb9069a

Resolves: tdf#148884 impress slideshow uses white text on white in dark mode

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 6 dhina 2022-11-14 10:24:27 UTC
Thanks Caolán, it works well now (macOS 10.15, LO 7.4.4.0.0+)