Bug 216621

Summary: LightweightSystem's RootFigure should use Canvas#drawBackground instead of filling with BG color
Product: [Tools] GEF Reporter: Randy Hudson <hudsonr>
Component: GEF-Legacy Draw2dAssignee: gef-inbox <gef-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Randy Hudson CLA 2008-01-25 14:07:40 EST
I just came across the method drawBackground on Canvas. Currently draw2d takes whatever background color has been set on the widget and just fills it on the canvas. This is not very native nor consistent with SWT.

On the Mac, there used to be these ugly penal stripes that were "expected" to appear in certain situations.  Yet when GEF was used in those scenarios, GEF would just fill with a solid color.  There are probably still flavors of this in the latest Mac OS X, Windows Vista, and certain GTK themes.

Also, SWT added support for setBackgroundImage(image), and the ability to inherit backgrounds. Draw2d's canvas doesn't support these.