Project: SWT
Bug 128267 No longer possible to capture screen with new GC(display)
Reported: 2006-02-16 13:14:07 | Status: resolved fixed

I think this is a regression. I do as follows: GC gc = new GC(display); Image image = new Image(display, shell.getSize().x, shell.getSize().y); gc.copyArea(image, shell.getLocation().x, shell.getLocation().y); to copy the contents of the Screen into an Image. This is working on Windows but not on Mac. I remember a recent change for Mac that improved performance of creating a new GC on the Display. Maybe this is a regression? I can confirm that it worked before. Ben

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java