United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7124272 [macosx] VK_DELETE does produce an extraneous character in a TextArea or TextField
JDK-7124272 : [macosx] VK_DELETE does produce an extraneous character in a TextArea or TextField

Details
Type:
Bug
Submit Date:
2011-12-23
Status:
Closed
Updated Date:
2012-09-25
Project Name:
JDK
Resolved Date:
2012-02-29
Component:
client-libs
OS:
os_x
Sub-Component:
java.awt
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
7u4 (b13)

Related Reports

Sub Tasks

Description
http://java.net/jira/browse/MACOSX_PORT-675 submitted 2011/11/09 by Yuri Nesterenko
Pressing "delete" key on a keyboard or simulating it by a Robot enters a symbol (0xf728 I believe) instead of a deleted character. Run an attached example: put caret in a TextArea or a TextField and press "delete".
This keystroke should produce a KEY_TYPED event and delete whatever character is in the caret position but should not produce an extra character.

                                    

Comments
EVALUATION

Author: Yuri Nesterenko Date: 09/Nov/11 07:49 AM
It is not a b215 issue, it is here for a long time I believe.
Build: b215
closed/java/awt/event/KeyEvent/KeyTyped/DeleteKeyTyped
                                     
2011-12-23
EVALUATION

Apparently, pressing Delete key on a PC keyboard results in [event charactersIgnoringModifiers] having NSDeleteFunctionKey as a character, which seems to be from the unicode range reserved for Apple. This is not what AWT expects.
                                     
2012-01-17



Hardware and Software, Engineered to Work Together