<AWT Dev> Please review patch for regression test awt/event/HierarchyEvent/AncestorResized/AncestorResized

Anthony Petrov Anthony.Petrov at Sun.COM
Fri Jan 29 07:37:01 PST 2010


Hi Pavel,

We've already got a bug for that issue:

http://bugs.sun.com/view_bug.do?bug_id=6618538

Please read the Evaluation section. You fix works just because it 
invokes the robot's method more than once, but that seems like a workaround.

That is still unclear why a single mouse move wouldn't do the job right. 
I think we should first investigate the root cause of the issue. Any ideas?

--
best regards,
Anthony

On 1/29/2010 3:02 PM Pavel Tisnovsky wrote:
> Hi,
> 
> please review patch for regression test
> awt/event/HierarchyEvent/AncestorResized/AncestorResized
> 
> The test now translates mouse pointer by smaller steps (in a loop), so 
> ANCESTOR_RESIZED event is surely generated and then received by 
> HierarchyBoundsListener implementation.
> 
> Before this change is made, there's only one ANCESTOR_RESIZED event 
> generated, which seems ok, but it is generated AFTER mouse button is 
> released.
> 
> webrev for this patch is available at
> http://cr.openjdk.java.net/~ptisnovs/AncestorResized/
> 
> Tested on: RHEL 5 x86_64, Gnome installed
> 
> Thanks in advance,
> 
> Pavel Tisnovsky
> Red Hat QA
> 



More information about the awt-dev mailing list