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

Bug 380228

Summary: Setting the foreground programmatically does not work
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: nmussin, tbuschto
Version: 1.5Flags: ivan: review+
Target Milestone: 1.5 RC2   
Hardware: All   
OS: All   
Whiteboard:

Description Ivan Furnadjiev CLA 2012-05-22 05:24:00 EDT
Start Controls Demo -> Group tab. Click on the "Foreground" button -> nothing changes.
Comment 1 Ivan Furnadjiev CLA 2012-05-22 05:27:13 EDT
It's not only Group problem. List and Table have the same problem.
Comment 2 Tim Buschtoens CLA 2012-05-25 05:30:29 EDT
The Group-Labels color is explicitly set to #4a4a4a in the default theme. When you set it to "inherit", it works. As far as i can tell this is correct behavior.
Comment 3 Tim Buschtoens CLA 2012-05-25 05:33:08 EDT
Same with TableItem and TreeItem. I remember noticing this before, when it was changed in the theme. Should we change it back?
Comment 4 Tim Buschtoens CLA 2012-05-25 08:45:54 EDT
Fixed in master with commit 3cf9e7b32de46c584828890fac3938baac26c333 by changing the themings color values of the these widgets to inherit again. Review for 1.5 maintanence?
Comment 5 Ivan Furnadjiev CLA 2012-05-25 10:10:42 EDT
Tim, List have the same problem... could you fix it too? I'm fine with your changes for Group, Table and Tree. +1 for 1.5 branch.
Comment 6 Nick Mussin CLA 2012-05-25 10:51:27 EDT
ToolBar also has the same problem. ToolItems should also have color: inherit
Comment 7 Tim Buschtoens CLA 2012-05-25 13:02:59 EDT
also fixed List and ToolBar with commit b29d8631bd9975395871484df3e50281921cc50f
Comment 8 Ivan Furnadjiev CLA 2012-05-25 13:10:01 EDT
+1 for List and ToolBar fixes.
Comment 9 Tim Buschtoens CLA 2012-05-25 13:43:22 EDT
Fixed in 1.5 stream with 
commit 3a9fb502d3ae74af57718da91a88b8a819ed5ce4
and
commit 9cc55b03d1c992ce24767e2bfc06c002bb958d1e