<AWT Dev>  Review request for 8163583: [macosx] Press "To Back" button on the Dialog, the Dialog moves behind the Frame
dmitry.markov at oracle.com
Mon Aug 15 14:57:31 UTC 2016
Just in case JCK tests passed on the build with fix.
On 15/08/2016 14:08, dmitry markov wrote:
> Could you review a fix for jdk9, please?
> bug: https://bugs.openjdk.java.net/browse/JDK-8163583
> webrev: http://cr.openjdk.java.net/~dmarkov/8163583/webrev.00/
> Problem description:
> If toBack() method is invoked on dialog/frame which has not-null
> owner, the dialog/frame will be ordered below its owner/parent.
> The following methods in AWTWindow.m should be modified:
> - nativePushNSWindowToBack() add logic to perform a proper ordering
> for parent/child windows.
> - sendEvent() add logic to move parent windows to front and make sure
> that child windows are displayed above their nearest parents when the
> window is clicked by a mouse.
More information about the awt-dev