Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4236563
Votes 0
Synopsis Event sequence is not correct when components on two windows are clicked.
Category java:classes_awt
Reported Against 1.2.2
Release Fixed 1.4(merlin-beta)
State 10-Fix Delivered, Verified, bug
Priority: 4-Low
Related Bugs 4290675
Submit Date 07-MAY-1999
Description
Click on components in two different windows back and forth. Focus and activation traverses between windows. The event sequence should be in right order as below:
1. focus losing component gets FOCUS_LOST
2. focus losing window gets WINDOW_DEACTIVATED
3. focus gaining window gets WINDOW_ACTIVATED
4. focus gaining component gets FOCUS_GAINED 

But the WINDOW_DEACTIVATED is called before the components's FOCUS_LOST in the window which loses focus.

The attached file ClickOppositeWindowsTest2.java reproduces this bug. This  test is automated with robot api and should be run in JDK1.2 build which has robot api in it. 

This test shows 2 frames and the components in the frames are clicked back and forth..the test fails because of this bug.

Pl. set the path to the framework.jar and lw.jar that are attached to this report to run the test.
Work Around
N/A
Evaluation
Commit to fix in Merlin (SQE yellow bug, focus)
  xxxxx@xxxxx   2000-09-26




  xxxxx@xxxxx   2000-10-27

SunOS_sparc
promoted b34 - FAILED
promoted b35 - PASSED
promoted b36 - PASSED

Windows_NT_x86
promoted b34 - FAILED
promoted b35 - PASSED
promoted b36 - PASSED

======================================================================

Based on the above results, I am closing this as being fixed by the merlin focus project.

  xxxxx@xxxxx   2001-04-17
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang