JDK-7156191 : [macosx] Can't type into applet demos in Pivot
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7u4
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2012-03-22
  • Updated: 2013-11-13
  • Resolved: 2012-07-05
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.
7u6 b06Fixed 8Fixed
Pivot is a UI toolkit from Apache. The demos are at http://pivot.apache.org/demos/kitchen-sink.html

On Mac OS X with the top-of-tree as of 3/22/12 you can't type into any of the text fields.

1. Load the URL above.
2. Click on the Text section
3. Click on a text field
4. Type
-------> Nothing happens.

Not sure if it's a regression. 7u-dev has the recent fix for key events.

SUGGESTED FIX Fixed - http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/13b099d9694f

EVALUATION We need to call peer.notifyActivation (instead of directly dispatching focus events) in the NPCocoaEventFocusChanged/NPCocoaEventWindowFocusChanged handlers in CEmbeddedFrame.