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

Bug 273244

Summary: [Theming] Link foreground color cannot be modified using theme variants
Product: [RT] RAP Reporter: Stefan Röck <stefan.roeck>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ivan
Version: 1.1   
Target Milestone: 1.2 M7   
Hardware: All   
OS: All   
Whiteboard:

Description Stefan Röck CLA 2009-04-22 08:45:39 EDT
Defining a custom color for the color of the hyperlink in a Link widget doesn't work using variants.
Example (old property style):

theme1/link.foreground: 0, 255, 34
theme2/link.foreground: 255, 0, 34

The reason is that on the JS-side additional children widgets of the Link widget are created that don't have the current state set. The latter is necessary to select the correct theming variant.
Comment 1 Ralf Sternberg CLA 2009-04-22 09:33:22 EDT
The issue does also persist with CSS in 1.2M6.
Comment 2 Ivan Furnadjiev CLA 2009-04-28 08:15:10 EDT
The "variant" state is added to children widgets too. Fixed in CVS HEAD.
Comment 3 Ivan Furnadjiev CLA 2009-04-30 09:34:13 EDT
The fix is back ported to v11_Maintenance.