JDK-8074669 : Web Start applications not getting focus and unable to get keyboard focus
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8u40
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86
  • Submitted: 2015-03-05
  • Updated: 2015-03-12
  • Resolved: 2015-03-12
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
OS X Yosemite 10.10.2

A DESCRIPTION OF THE PROBLEM :
Since the update of Java SE Development Kit 8, Update 40 (JDK 8u40), our OSX customers have not been able to type anything into our Java application and the application does not gain focus.  We have tried other Web Start application examples and we have the same issue, so we don���t believe this issue is unique to us.

We went to http://docs.oracle.com/javase/tutorial/deployment/webstart/examplesIndex.html and launched both Web Start demo���s on that page.  We can double-click in the fields and it appears it wants to rename or edit text, but the caret doesn���t show up and typing doesn���t work.  Also, Finder (or whatever app we had touched last) is still on the Mac title/tool bar.


REGRESSION.  Last worked in version 8u31

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1) Run on OS X Yosemite (probably) and Java 8u40 go to http://docs.oracle.com/javase/tutorial/deployment/webstart/examplesIndex.html.
2) Launch Dynamic Tree Demo.
3) Expand the tree to show on of the child nodes.
4) Double-click on the child node to rename.
5) Notice that the field doesn't gain focus.  No caret is visible.  Also note that the application doesn't update the title/tool bar.  It's like the OS isn't really aware of the running app

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The expected result would be to be able use the keyboard to change the text
ACTUAL -
The text is untouchable

REPRODUCIBILITY :
This bug can be reproduced always.


Comments
This could be a duplicate of JDK-8074668. Need to be tested on 10.10 (MAC OS X).
09-03-2015