<AWT Dev> Review request for 8160570: [mac] modal dialog can skip the activation/focus events

Anton Tarasov anton.tarasov at jetbrains.com
Mon Aug 29 17:31:34 UTC 2016


Hi Sergey,

Ok, I’ve changed it as you suggested:

http://cr.openjdk.java.net/~ant/JDK-8160570/webrev.1 <http://cr.openjdk.java.net/~ant/JDK-8160570/webrev.1>

Regards,
Anton.

> On 09 Aug 2016, at 17:34, Sergey Bylokhov <Sergey.Bylokhov at oracle.com> wrote:
> 
> Hi, Anton.
> Is it possible to call updateFocusableWindowState() from the initializeImpl()? initializeImpl() is a place where we init the peer before make it visible, but after constructor of the peer was called.
> 
> On 29.06.16 21:04, Anton Tarasov wrote:
>> Hello,
>> 
>> Please review the fix:
>> 
>> bug: https://bugs.openjdk.java.net/browse/JDK-8160570
>> webrev: http://cr.openjdk.java.net/~ant/JDK-8160570/webrev.0
>> 
>> The problem is that a modal dialog can skip the activation/focus events
>> on OSX.
>> The fix is to cache the focusability state of the Window peer earlier,
>> in its ctor.
>> Please find more details in JIRA.
>> 
>> Thanks,
>> Anton.
> 
> 
> -- 
> Best regards, Sergey.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20160829/e4ddf21b/attachment.html>


More information about the awt-dev mailing list