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

Bug 325741

Summary: [List][Table][Tree] setForeground does not work
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: tbuschto
Version: 1.3   
Target Milestone: 1.4 M3   
Hardware: All   
OS: All   
Whiteboard:

Description Ivan Furnadjiev CLA 2010-09-20 08:11:53 EDT
Steps to reproduce:
1. Start Controls Demo -> List tab
2. Change the forground by "Foreground" button
3. No change at all, but the javascript has been rendered:
var wm = org.eclipse.swt.WidgetManager.getInstance();
var w = wm.findWidgetById( "w100" );
w.setTextColor( "#f99e00" );
var w = wm.findWidgetById( "w101" );
w.setTextColor( "#f99e00" );
Reproducible with 1.3.1 maintenance and CVS HEAD, FF, IE8, Chrome, Safari.
Comment 1 Ivan Furnadjiev CLA 2010-10-11 11:36:58 EDT
This issue is valid for Table and Tree too. Introduced with the new default theme in Table and Tree. List-Item, TreeItem and TableItem "color" property is set in default CSS to specific color instead of "inherit". Solution is to set it to "inherit".
Comment 2 Ivan Furnadjiev CLA 2010-10-11 11:44:54 EDT
Fixed in CVS HEAD.