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

Bug 344770

Summary: CommonImages.FIND_CLEAR and FIND_CLEAR_DISABLED should have a transparent background
Product: z_Archived Reporter: Sam Davis <sam.davis>
Component: MylynAssignee: Sam Davis <sam.davis>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: steffen.pingel
Version: unspecifiedKeywords: contributed
Target Milestone: 3.6   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
patch for DatePicker
steffen.pingel: iplog+
mylyn/context/zip none

Description Sam Davis CLA 2011-05-04 17:44:42 EDT
CommonImages.FIND_CLEAR and CommonImages.FIND_CLEAR_DISABLED should have a transparent background so that widgets that use them can be used with non-white background colours.
Comment 1 Steffen Pingel CLA 2011-05-06 10:40:11 EDT
According to gimp the background on these images is transparent. Note that some Windows versions have problems showing transparent images properly on certain controls.
Comment 2 Sam Davis CLA 2011-05-06 12:23:33 EDT
Created attachment 194959 [details]
patch for DatePicker

Thanks for looking in to this Steffen. It turns out the problem is that DatePicker does not set the background on the clear button. Here's a patch.
Comment 3 Sam Davis CLA 2011-05-06 12:23:35 EDT
Created attachment 194960 [details]
mylyn/context/zip
Comment 4 Steffen Pingel CLA 2011-05-06 12:43:52 EDT
Reopening to merge patch.
Comment 5 Steffen Pingel CLA 2011-05-06 12:47:57 EDT
Thanks for looking into this. I have applied the patch.