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

Bug 282540

Summary: [CCombo] drop-down list is transparent
Product: [RT] RAP Reporter: Rüdiger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.2   
Target Milestone: 1.3 M1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Screenshot of transparent drop-down list
none
Proposed fix
none
Another proposed fix none

Description Rüdiger Herrmann CLA 2009-07-06 11:34:07 EDT
Controls shine through when opening the drop-down list over them.
Comment 1 Rüdiger Herrmann CLA 2009-07-06 11:39:28 EDT
Created attachment 140878 [details]
Screenshot of transparent drop-down list
Comment 2 Rüdiger Herrmann CLA 2009-07-07 03:42:32 EDT
Apparently the backgroundMode of the composite that contains the combo is set to INHERIT_FORCE
Comment 3 Rüdiger Herrmann CLA 2009-07-07 09:57:35 EDT
Created attachment 140962 [details]
Proposed fix

The background color of the combo is set null, list-background is set to the theme default value instead.
Comment 4 Ralf Sternberg CLA 2009-07-07 14:02:31 EDT
Created attachment 140986 [details]
Another proposed fix

Rüdiger, your patch would not support widget variants, since the states object passed to the ThemeValues contructor is always empty. The current implementation also does not support variants, which is another issue (states are not propagated to sub widgets). Anyway, I think that variants should be supported and therefore I'll attach a slightly different version of your patch that does so.
This patch resets the background color for the drop-down list and lets the value from the Appearance "(c)combo-list" take precedence.
Comment 5 Rüdiger Herrmann CLA 2009-07-08 08:29:33 EDT
Applied the second patch to CVS HEAD