JDK-4236563 : Event sequence is not correct when components on two windows are clicked.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.2.2
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_2.5
  • CPU: generic
  • Submitted: 1999-05-07
  • Updated: 2001-07-16
  • Resolved: 2001-04-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.0 betaFixed
Related Reports
Relates :  
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.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: merlin-beta FIXED IN: merlin-beta INTEGRATED IN: merlin-beta VERIFIED IN: merlin-beta2
14-06-2004

EVALUATION Commit to fix in Merlin (SQE yellow bug, focus) eric.hawkes@eng 2000-09-26 Name: dkR10074 Date: 10/27/2000 ###@###.### 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. hania.gajewska@Eng 2001-04-17
17-04-2001