Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6354831

REG: Invalid keyChar when numpad 'Enter' key pressed

    XMLWordPrintable

Details

    • b65
    • sparc
    • solaris_10
    • Verified

    Description

      This is reproducible on XToolkit with mustang b42, but not reproducible in b32 - regression introduced sometime between these two builds.

      The keyChar returned by KeyEvent for numpad enter key is different from normal enter key. Run the attached program. Move the focus to the Frame and press the enter key. Now press the numpad enter key. See the messages in the dialog. Check for the keyChar in the messages. It could be seen that for a normal enter key, 'Enter' is shown as keyChar, but for numpad enter key, nothing is shown.
      Also, the key events are getting logged in the terminal window - the message shown for a numpad enter key is jumbled since enter is getting typed in the terminal window when key events are getting printed.
      -

      Attachments

        Activity

          People

            yan Yuri Nesterenko
            gramachasunw Girish Ramachandran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: