<AWT Dev> [11] RFR 8205479: OS X: requestFocus() does not work properly for embedded frame
Dmitry Markov
dmitry.markov at oracle.com
Mon Jun 25 16:11:47 UTC 2018
Hello,
Could you review a fix for jdk11, please?
bug: https://bugs.openjdk.java.net/browse/JDK-8205479
webrev: http://cr.openjdk.java.net/~dmarkov/8205479/webrev.00/
Problem description:
On Mac OSX when focus is transferred to some component located at embedded frame, CPlatformEmbeddedFrame.requestWindowFocus() is called to activate owning frame. However that method does nothing, (i.e. no activation happens). As a result the focus cannot be transferred to the component because its owner is not active.
Fix:
CPlatformEmbeddedFrame.requestWindowFocus() should activate the embedded frame, (i.e. invoke notifyActivation() for the corresponding peer).
Thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20180625/b98a6603/attachment.html>
More information about the awt-dev
mailing list