JDK-7156194 : [macosx] Can't type non-ASCII characters into applets
  • 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: 2015-04-15
  • Resolved: 2012-07-27
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.
JDK 7 JDK 8
7u6 b06Fixed 8Fixed
Related Reports
Relates :  
Relates :  
Description
Non-ASCII/extended characters can't be typed into applets. They are ignored.

Details:

On the Mac, the NPAPI delivers events to the plugin, which we then forward on to the applet process. If I turn on verbose mode, I can see that characters like option-u, then u are being delivered to the applet, but the applet isn't responding to the event.

To reproduce (and I'm sure there are easier ways to reproduce it):

1. load the Swing Set demo from http://java.sun.com/products/plugin/1.4/demos/jfc/SwingSet2/SwingSet2.html
2. You should see the 'Internal Frames Demo'. Click on the text field named 'Frame title:'.
3. Type option-u, then 'u'.
----> Expect to see umlauted U, but instead, nothing is typed.

Comments
EVALUATION see MR
12-04-2012

SUGGESTED FIX Done - http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/7e97533153b8
03-04-2012

EVALUATION We need to send KEY_TYPED events for each character in the NPCocoaEventTextInput handler in CEmbeddedFrame.
26-03-2012