Request for review 7150345: [macosx] Can't type into applets
Anton V. Tarasov
anton.tarasov at oracle.com
Tue Mar 6 04:05:36 PST 2012
I approve.
Thanks,
Anton.
On 06.03.2012 2:53, Dmitry Cherepanov wrote:
> 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