Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 519640

Summary: [GTK3.14, 3.16] Button and Label foreground colors fail to reset
Product: [Eclipse Project] Platform Reporter: Eric Williams <ericwill>
Component: SWTAssignee: Eric Williams <ericwill>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: akurtakov
Version: 4.8Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Eric Williams CLA 2017-07-13 10:14:25 EDT
When setting a foreground and background colour for a Button or Label, clearing both colours leaves the foreground colour still set. This *only* happens on GTK3.16, 3.18+ is unaffected, as is 3.14-.

In the case of Button, hovering over the widget makes the foreground reset properly.

I did a preliminary investigation and the issue has been going on for awhile. I went as far back as 4.6.2 and the issue is still reproducible.
Comment 1 Eric Williams CLA 2017-07-13 10:17:10 EDT
As with most colour issues, I'll add this to my queue.
Comment 2 Eric Williams CLA 2017-08-02 10:06:25 EDT
Clarification: this only happens in ControlExample. I have not yet been able to reproduce this in a snippet, nor have I seen it anywhere in the IDE.

Happens only on GTK3.14 and 3.16. 3.18+ is fine.
Comment 3 Alexander Kurtakov CLA 2017-12-14 18:04:59 EST
Eric, does it still happen?
Comment 4 Eric Williams CLA 2017-12-15 08:59:39 EST
(In reply to Alexander Kurtakov from comment #3)
> Eric, does it still happen?

Yes.
Comment 5 Eric Williams CLA 2018-04-11 14:49:23 EDT
I'm going to close this as WONTFIX since it's not worth the investigation to fix a problem on two GTK3 versions. GTK3.22 doesn't have this issue.