SirIntellegence commented on issue #403: [NETBEANS-320] Mac modal dialogs 
pop-under non-modal dialogs
URL: 
https://github.com/apache/incubator-netbeans/pull/403#issuecomment-368048910
 
 
   I am going to need some discussion about this. @JaroslavTulach  @mdindoffer. 
I have discovered that adding arbitrary parents to a dialog could result in the 
dialog vanishing if the parent dialog gets closed while the given dialog is 
open (such as when a temparary dialog like the one in 
`AbstractWindowRunner.createModalprogressDialog` or 
`o.n.modules.progress.ui.StatusLineComponent.showPopup`). This change wouldn't 
be needed if Java wasn't being stupid about Application Modal Dialogs not being 
on top of all other lesser windows in the given application.
   My current solution is to create an interface called `Leafable` with a 
method called `isLeaf` in Dialog API that windows that don't want to be a 
parent would implement, but that would result in a mess. Any other suggestions?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to