Download it now!
Bug 125532 - Characters rendered black on selected dialog tabs on macOS
Summary: Characters rendered black on selected dialog tabs on macOS
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
(earliest affected)
Hardware: All Mac OS X (All)
: medium normal
Assignee: Thorsten Wagner
Whiteboard: target:7.0.0
: 125088 130466 (view as bug list)
Depends on:
Blocks: MacOS-Wishlist Dialog
  Show dependency treegraph
Reported: 2019-05-27 20:17 UTC by Thorsten Wagner
Modified: 2020-03-09 14:38 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:

Screenshot (37.74 KB, image/png)
2019-05-27 20:18 UTC, Thorsten Wagner
Screenshot with patch (320.30 KB, image/png)
2020-01-17 19:44 UTC, Thorsten Wagner
Screenshot 3 (245.31 KB, image/png)
2020-03-01 19:09 UTC, Thorsten Wagner
Screenshot 4 (297.83 KB, image/png)
2020-03-01 19:09 UTC, Thorsten Wagner

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Wagner 2019-05-27 20:17:44 UTC
With LO 6.3 selected buttons are rendered with white characters correctly now. Selected tabs are still rendered with black characters (see screenshot). They should be rendered correctly with white characters too. 

Steps to Reproduce:
(1) Open a LO application, e.g. Writer

(2) Open a dialog with tabs, e.g. File / Properties

Actual Results:
Selected tabs are rendered with black characters

Expected Results:
Selected tabs are rendered with white characters

Reproducible: Always

User Profile Reset: No

OpenGL enabled: Yes

Additional Info:
Comment 1 Thorsten Wagner 2019-05-27 20:18:08 UTC
Created attachment 151713 [details]
Comment 2 Alex Thurgood 2019-05-28 07:16:33 UTC

Build ID: 92b0b8d78d69bd917842b09af7888b402144baeb
CPU threads: 4; OS: Mac OS X 10.14.4; UI render: default; VCL: osx; 
Locale: fr-FR (fr_FR.UTF-8); UI-Language: en-US
Calc: threaded
Comment 3 Thorsten Wagner 2020-01-17 19:44:00 UTC
A patch will be submitted to Gerrit in short. Patch should resolve the following issues (see screenshot attached):

(1) White text on default buttons (currently black)

(2) White text on action buttons (currently black)

(3) White text on default and action buttons during roll-over or pressing

(4) White text on selected tabs (currently black)

Some additional colors have to be defined within settings.hxx and settings.cxx. These colors are set to black as default for all VCL backends. Changing to white is implemented within macOS specific VCL backend code. Thus other VCL backends should not be affected.
Comment 4 Thorsten Wagner 2020-01-17 19:44:34 UTC
Created attachment 157235 [details]
Screenshot with patch
Comment 5 Thorsten Wagner 2020-01-17 19:55:19 UTC
Patch submitted to gerrit:
Comment 6 Alex Thurgood 2020-02-12 09:34:36 UTC
*** Bug 130466 has been marked as a duplicate of this bug. ***
Comment 7 Thorsten Wagner 2020-02-23 20:42:38 UTC
Uploaded a new revision of patch with some housekeeping:
Comment 8 Thorsten Wagner 2020-03-01 19:09:09 UTC
Created attachment 158288 [details]
Screenshot 3
Comment 9 Thorsten Wagner 2020-03-01 19:09:33 UTC
Created attachment 158289 [details]
Screenshot 4
Comment 10 Thorsten Wagner 2020-03-01 19:15:24 UTC
Current revision of patch contains a mimic to handle non key windows on macOS correctly. Attached screenshots 3 und 4 to show buttons, which have white text as long as called dialog is visible without this mimic. This kind of behaviour is handled by passing information about renderig text on controls to the backend. It has to be clarified whether is kind of handling is really needed. Maybe it could be an implementation problem of the buttons shown by the screenshots too.
Comment 11 Commit Notification 2020-03-06 19:37:35 UTC
Thorsten Wagner committed a patch related to this issue.
It has been pushed to "master":

tdf#125532: White text on default/action buttons and selected tabs on macOS

It will be available in 7.0.0.

The patch should be included in the daily builds available at in the next 24-48 hours. More
information about daily builds can be found at:

Affected users are encouraged to test the fix and report feedback.
Comment 12 Julien Nabet 2020-03-06 20:46:52 UTC
Thorsten: do you think we can consider tdf#125088 as dup of this one?
Comment 13 Thorsten Wagner 2020-03-06 21:46:05 UTC
Yes,  tdf#125088 is a dup.
Comment 14 Julien Nabet 2020-03-06 22:09:01 UTC
*** Bug 125088 has been marked as a duplicate of this bug. ***