Project: SWT
Bug 317219 Shell.moveAbove() should not show widget if not visible
Reported: 2010-06-17 12:47:09 | Status: resolved fixed

Shell.moveAbove() doesn't show child area, just the frame. See snippet below: ===== import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class Test { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout(1, false)); Button b = new Button(shell, SWT.PUSH); b.setText("PUSH ME"); shell.setVisible(false); shell.moveAbove(null); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }

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