Project: SWT
Bug 167686 Background/Foreground Color style bit not respected without a border/scroll bar
Reported: 2006-12-12 12:21:36 | Status: resolved fixed

I20061212-0010 Seen on both Solaris and Linux GTK Run the control example, go to Canvas. Click on H_SCROLL and V_SCROLL. Set background color and foreground color to something noticeable. Turn off H_SCROLL and V_SCROLL -> color goes away. Turn them back on -> color comes back. Turn them off and turn on BORDER -> color comes back.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Link.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabFolder.java