Project: SWT
Bug 173549 Drawing round rectangles, DND and antialias vows
Reported: 2007-02-08 17:14:18 | Status: resolved fixed

I have a funny combination that causes problems in forms. It requires the following: 1) Drag & Drop and the new drag effect support 2) Dragging of a composite that has children and that paints on its background 3) Usage of 'GC.fillRoundRectangle()' 4) Usage of antialiasing When all these are combined, the image created as a snapshot for drag effect does not paint children. Snippet to follow.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/DragSource.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/ImageList.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ImageList.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Menu.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TabFolder.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolBar.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolItem.java