Request for review 7156191 [macosx] Can't type into applet demos in Pivot
Dmitry Cherepanov
dmitry.cherepanov at oracle.com
Wed Mar 28 03:53:54 PDT 2012
Anton V. Tarasov wrote:
> This works for handleWindowFocusEvent(boolean parentWindowActive), but
> what about switching focus somewhere inside the browser but outside
> the plugin?
>
> 100 public void handleFocusEvent(boolean focused) {
> 101 this.focused = focused;
> 102 updateOverlayWindowActiveState();
> 103 }
>
>
>
> This will call updateOverlayWindowActiveState() where focused==false
> and so the EmbeddedFrame won't be notified about deactivation.
>
> Also, is it possible to have handleFocusEvent(true) called when the
> browser is inactive? If so, the EmbeddedFrame will receive unrelated
> notification.
>
> Did I get it right?
You're right. Here's the new version of the fix:
http://cr.openjdk.java.net/~dcherepanov/7156191/webrev.1/
I hope that this addresses your concerns.
Thanks,
Dmitry
More information about the macosx-port-dev
mailing list