Project: SWT
Bug 336485 Parent shell wrongly focused via Expose (should activate primary modal child shell)
Reported: 2011-02-07 05:08:25 | Status: verified fixed

HEAD Cocoa - Open a child shell with PRIMARY_MODAL (e.g. in ControlExample) - Via Expose, select the parent shell => Parent shell gets activated, but keyboard interaction doesn't work => Expected: Child shell should be active I would also expect that the child shell is shown as a separate window in Expose, at least if it's MODELESS. Works fine with the native Open dialog. Works fine on Carbon (separate window in Expose, parent passes focus to child when activated).

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