<AWT Dev> Patch for JTreg test java/awt/Mixing/LWPopupMenu.java
Anthony Petrov
Anthony.Petrov at Sun.COM
Thu Oct 1 08:33:33 PDT 2009
Hi Pavel,
Thanks for the patch. I'm just curious on which platforms/software
versions do you experience such behavior?
Also, I think we need another waitForIdle() call just after calling the
toFront() to make sure it gets correctly processed.
--
best regards,
Anthony
On 10/01/2009 07:09 PM, Pavel Tisnovsky wrote:
> Hi,
>
> can you please review patch for JTreg test
> java/awt/Mixing/LWPopupMenu.java
> (http://cr.openjdk.java.net/~ptisnovs/LWPopupMenu/)?
>
> This test opens two frames - test dialog (used for printing messages and
> so on) [Window1] and the frame with menu and button [Window2]. Sometimes
> (probability is about 10% on my machine) the [Window2] is displayed
> UNDER [Window1], not on the top. This causes test failure, because
> [Window2] does not receive events when it is covered by another window.
>
> Calling frame.toFront() after waiting for robot seems to solve this issue.
>
> Thanks in advance,
> Pavel Tisnovsky
More information about the awt-dev
mailing list