United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6689088 Focus traversal doesn't work in the reverse order / related to the SR 70175950 / CR 6684528
6689088 : Focus traversal doesn't work in the reverse order / related to the SR 70175950 / CR 6684528

Details
Type:
Bug
Submit Date:
2008-04-15
Status:
Resolved
Updated Date:
2011-02-16
Project Name:
JDK
Resolved Date:
2008-06-17
Component:
client-libs
OS:
windows_2000
Sub-Component:
java.awt
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
5.0u15
Fixed Versions:
5.0u16-rev

Related Reports
Backport:
Relates:

Sub Tasks

Description
Verizon said, this issue is related to SR# 70175950. As per engineering comment, this is a bug in JDK which got fixed in jdk 7.0 but cu has requested the backport fix in jdk 1.5 update 15 and upper, on windows 2000 platform. The issue to be handled this case is "Focus traversal doesn't work in the reverse order". This is on Windows 2000 / JDK 1.5

Snippet from Kannan's email :

   The original issue ( SR 70175950 / CR 6684528 ) is definitely different from this one but the latter (new) one is a jdk bug. I discussed with PDE and this is a problem specific to Window object. The good news is that it  has been recently fixed in 7.0.  I can work on backporting the fix to 5.0 and other releases. So you may want to file another escalation for this issue.
Problem scenario:

- There is a Frame with a textfield containing the keyboard focus.
- On the press of Home key on the keyboard on the textfield, a popupmenu is shown. The popupmenu is a customized one using Window object.
- On disposing the popupmenu using Escape key, the focus is expected to get back to the textfield but the focus is lost and is seen nowhere.

                                    

Comments
EVALUATION

Just a note that this is an issue only when a Window is popped up. If it was a Frame or a Dialog or its subclass, the focus would have been set back onto the textfield in the scenario provided in the Description.
                                     
2008-05-29
EVALUATION

Please check bug 6386592 which has been fixed in 6.0 and 7.0 and the scenario is a superset of this bug.
                                     
2008-05-29
EVALUATION

The fix is to synthesize the window activation on the parent frame. This sets the focus back onto the last focussed component in the parent frame.
                                     
2008-05-15



Hardware and Software, Engineered to Work Together