Request for review 7150345: [macosx] Can't type into applets
Dmitry Cherepanov
dmitry.cherepanov at oracle.com
Mon Mar 5 14:53:14 PST 2012
Hi Anton,
Anton V. Tarasov wrote:
> With your changes you allow cross-app focus requests to an applet.
> This means that an applet may receive focus on java level, while
> native system will reject it.
>
> I see that the problem is that LWCToolkit.isApplicationActive()
> returns false for EmbeddedFrame.
> May be we should change the implementation of this method so that it
> look at the embedder?
Thanks for the review. Here's an update webrev:
http://cr.openjdk.java.net/~dcherepanov/7150345/webrev.1
The fix introduces focus handlers for NPAPI focus events to start
tracking the "active" state of the embedder and now it rejects focus
requests if the embedder isn't active.
Thanks,
Dmitry
More information about the macosx-port-dev
mailing list