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

two keys producing the same key code in japanese keyboard

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.2
    • client-libs
    • x86
    • windows_2000



      Name: gm110360 Date: 05/02/2003


      FULL PRODUCT VERSION :
      java plugin version 1.4.1_02

      FULL OS VERSION :
      windows 2000

      A DESCRIPTION OF THE PROBLEM :
      On a japanese keyboard layout,
      when local IME is enabeld in kana mode and if we try the backslah key and the yen key, both produces the same keycode 92 (VK_BACKSLASH) though they produces different correct expected characters.
      The correct behaviour includes distinguishing between these two keys from the keycodes as well as they are two different keys,
      may be by defining another key code for Ro or Yen key .I havent seen any key code defined yet for Ro or Yen in the API.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Enable local IME in kana mode in a japanese keyboard
      press \ or Ro key (Key next to right shift key)and look for the key code it produces in java
      Press yen key (key next to Back Space) and look for the key code it produces in java

      Thoug the two key events produces different key chars,it still gives the same keycode 92


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      Diffferent key codes for the above two key events as they are two different
      keys with diferent key char representation.
      Thoug the two key events produces different key chars,it still gives the same keycode 92 for both the keys


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      nay simple program which displays the key events as we press the keys will do
      ---------- END SOURCE ----------
      (Review ID: 185072)
      ======================================================================

            ehawkessunw Eric Hawkes (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: