<AWT Dev> [9] Review request for 8163583: [macosx] Press "To Back" button on the Dialog, the Dialog moves behind the Frame
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Mon Aug 15 18:02:24 UTC 2016
Looks fine.
On 15.08.16 17:57, dmitry markov wrote:
> Just in case JCK tests passed on the build with fix.
>
> Thanks,
> Dmitry
> On 15/08/2016 14:08, dmitry markov wrote:
>> Hello,
>>
>> 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.
>>
>> Fix:
>> 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.
>>
>> Thanks,
>> Dmitry
>
--
Best regards, Sergey.
More information about the awt-dev
mailing list