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

Linux JDK 1.3.1 ignores KeyEvent "VK_Decimal" on german keyboard layout

    XMLWordPrintable

Details

    • x86
    • linux

    Description

      Name: yyT116575 Date: 07/31/2001


      java version "1.3.1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_b24)
      Java HotSpot(TM) Client VM (build 1.3.1_b24, mixed mode)


      JTextComponents do not receive a KeyEvent when NumLock is on and I press the
      decimal button on the num pad with german keybord layout. I expect a KeyEvent
      with (!!)keyChar==','(!!) and KeyCode==VK_DECIMAL. When NumLock is off I
      receive an Event for delete( this is correct ). Any other applicaiton doesn't
      show this phenomenon except Java. Changing all keybord layout to US or Hungary,
      it works.

      My System:
      Suse Linux 7.2, Kernel 2.4, icewm window manager. In the /etc/X11/XF86Config
      file, this type of keyboard is specified as:

         XkbModel "pc104"
         XkbLayout "de"
      (Review ID: 129124)
      ======================================================================

      Name: jl125535 Date: 11/16/2001


      java version "1.3.1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
      Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)


      Under Linux hitting the decimal dot on the keypad while numlock is on, does not generate an event for a typed character. X11 generates a KP_SEPARATOR event, but KP_SEPARATOR is not mapped in /src/solaris/native/sun/awt/canvas.c.

      Under Windows on the other side this key (VK_SEPARATOR) is mapped correctly to java.awt.event.KeyEvent.VK_SEPARATER and generates the key events correctly.

      There is no way for me to fix this right now and almost all of our customers are using the keypad heavily.

      You can easily reproduce the problem in any JTextField.
      (Review ID: 135539)
      ======================================================================

      Attachments

        Activity

          People

            yan Yuri Nesterenko
            yyoungsunw Yung-ching Young (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: