United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7124375 [macosx] Focus isn't transfered as expected between components
JDK-7124375 : [macosx] Focus isn't transfered as expected between components

Details
Type:
Bug
Submit Date:
2011-12-23
Status:
Closed
Updated Date:
2014-03-10
Project Name:
JDK
Resolved Date:
2012-09-11
Component:
client-libs
OS:
os_x
Sub-Component:
java.awt
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:
Backport:

Sub Tasks

Description
http://java.net/jira/browse/MACOSX_PORT-320 submitted 2011/08/24 by Taras Ledkov
Please take a look the regression test:
java/awt/Focus/ContainerFocusAutoTransferTest/ContainerFocusAutoTransferTest.java
Test #1 fails.
Steps:
1. Frame with two panels and buttons on the panels are created;
2. Panel witch focused button is hidden;
3. No button on other panel has focus.
Build: b204
Keywords: test-fail-macos

                                    

Comments
EVALUATION

Looks not critical.
                                     
2012-02-10
EVALUATION

When user's code sets its own KeyboardFocusManager we loose all information about currently focused window/component.
                                     
2012-07-19
/test: http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/file/a5d3d97f79c9/test/java/awt/Focus/ContainerFocusAutoTransferTest/
                                     
2012-12-04
java/awt/Focus/ContainerFocusAutoTransferTest/ContainerFocusAutoTransferTest.java

PASSED under JDK 8 b132 on MacOS, Linux, Solaris, Windows.
Closed issue as Fixed/Verified.
                                     
2014-03-10



Hardware and Software, Engineered to Work Together