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

Bug 419722

Summary: [Combo] CSS Combo foreground color changes when mouse hoovers
Product: [RT] RAP Reporter: Gregor Roessle <g.roessle>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Gregor Roessle CLA 2013-10-17 10:28:58 EDT
Custom coloring a combo box works using CSS or directly setting the color (e.g. combo.setForeground()). Also the drop down list is colored correctly.

However, the highlighting effect (mouse over) resets the text color of the list items to the default color. Opening the drop down list again shows all items with standard color.

This effect is also visible in the current available controls demo:
http://rap.eclipsesource.com/controlsdemo/controls#Combo
Change the foreground color, open the combo box and move the mouse over the listed items. After beeing highlighted the item has the default foreground color. Closing and opening the combo box does not reset this. The default color stays until a new foreground color is set.

This bug is in the current 2.1.1 release and has been in RAP at least since 2.0 (also 1.5 may be but I do not remember because we switched to 2.x shortly after we started our project with 1.5)
Comment 1 Ivan Furnadjiev CLA 2013-10-17 11:29:23 EDT
I think this is a duplicate of bug 394083. Please reopen if you disagree.

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