|
|
|
Re: SWT modal dialog overlapped by non-modal dialog on Mac OS X [message #1576953 is a reply to message #1575466] |
Wed, 21 January 2015 16:28 |
Eclipse User |
|
|
|
I like to think of the parent shells as providing the window system a set of constraints for ordering. Basically by using the active window for your other dialog, you're saying to the window system that it's as important as any other dialogs specifying the active window.
If you want to ensure your dialog is on top of your top-most dialog, find your top-most dialog and specify it as your dialog parent. Don't use the active window (btw: realize that getActiveWorkbenchWindow() can return null). You could even consider Display.getActiveShell().
It sounds like you have particular semantics for this dialog, especially as to how it relates to other dialogs, but it's not clear what they are.
Brian.
|
|
|
Powered by
FUDForum. Page generated in 0.03519 seconds