United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7156194 [macosx] Can't type non-ASCII characters into applets
JDK-7156194 : [macosx] Can't type non-ASCII characters into applets

Details
Type:
Bug
Submit Date:
2012-03-22
Status:
Closed
Updated Date:
2013-04-09
Project Name:
JDK
Resolved Date:
2012-07-27
Component:
client-libs
OS:
os_x
Sub-Component:
java.awt
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
7u4
Fixed Versions:
7u6 (b06)

Related Reports
Backport:
Relates:
Relates:

Sub Tasks

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

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

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

see MR
                                     
2012-04-12



Hardware and Software, Engineered to Work Together