Bug 134892 - Font color of Button control ignored (always rendered black)
Summary: Font color of Button control ignored (always rendered black)
Status: RESOLVED DUPLICATE of bug 134708
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2020-07-17 02:18 UTC by Jim Avera
Modified: 2020-07-25 23:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
BlackButtonWhiteText.ods (a button from a previously-working app) (8.13 KB, application/vnd.oasis.opendocument.spreadsheet)
2020-07-17 02:19 UTC, Jim Avera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Avera 2020-07-17 02:18:32 UTC
Description:
Regression, happened some time after 5.4.7.2 (the next version I have available is 6.5.0.0.alpha1; bug is also there in current master):

A "Button" control with black background and white text now shows completely black, i.e. the font color is rendered black even though it is set as white.

This affects controls in existing docs (which now are unreadable) as well as new ones.



Steps to Reproduce:
1. View->Toolbars->Form Design checkec
2. Click the "Design Mode" Form Design icon (green drafting square & pencil)
3. Insert->Form Control->Push Button
4. Draw a rectangle somewhere on the spreadsheet with the mouse
5. Rightclick->Control Properties...
     Click the "..." next to "Font"
     Change the Font color to e.g. red
     Click OK
     

Actual Results:
Font color of button label is still black

Expected Results:
Font color should be obeyed.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
The attached file BlackButtonWhiteText.ods contains a button copied from a previously-working application (which now displays unreadable all-black buttons).
Comment 1 Jim Avera 2020-07-17 02:19:20 UTC
Created attachment 163144 [details]
BlackButtonWhiteText.ods  (a button from a previously-working app)
Comment 2 Xisco Faulí 2020-07-17 09:46:33 UTC
Regression introduced by:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=8d11b953c0a69f4f5eb5ca42dec3812a62d0cd0f

author	Thorsten Wagner <thorsten.wagner.4@gmail.com>	2020-02-23 21:11:05 +0100
committer	Tomaž Vajngerl <quikee@gmail.com>	2020-03-06 20:36:23 +0100
commit 8d11b953c0a69f4f5eb5ca42dec3812a62d0cd0f (patch)
tree 4061d4c9cd64871154a1fc843eae5cfbb6d22788
parent 4ba09be7e260ce2a79a23465db7b2837422cde30 (diff)
tdf#125532: White text on default/action buttons and selected tabs on macOS

Bisected with: bibisect-linux64-7.0

Adding Cc: to Thorsten Wagner
Comment 3 Thorsten Wagner 2020-07-25 23:12:37 UTC
Confirming on macOS too, issue is duplicate of tdf#134708.
Comment 4 Thorsten Wagner 2020-07-25 23:13:03 UTC

*** This bug has been marked as a duplicate of bug 134708 ***