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

Italian dead keys on US Keyboard don't work with space key on Linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.0
    • client-libs
    • x86
    • linux

      Name: sv35042 Date: 10/18/2002


      FULL PRODUCT VERSION :
      java version "1.4.0_01"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03)
      Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode)

      FULL OPERATING SYSTEM VERSION :
      Linux Red Hat 7.3
      glibc-2.2.5-34
      Kernel 2.4.18-3

      ADDITIONAL OPERATING SYSTEMS :
      Linux Debian "potato", "woody"


      EXTRA RELEVANT SYSTEM CONFIGURATION :
      My keyboard is : US Keyboard 104 keys

      When install Red Hat 7.3 :
      - Add Support for Italian language (but is the same with
      other language like french or german)
      - Use 104 US intl (w/ dead keys)
      - Enable dead keys

      So, after the installation, in my /etc/X11/XF86Config-4 i have:

      Option "XkbRules" "xfree86"
      Option "XkbModel" "pc105"
      Option "XkbLayout" "us_intl"
      Option "XkbVariant" "basic"

      A DESCRIPTION OF THE PROBLEM :
      Dead keys on US Keyboard doesn't work with Linux in JDK 1.4

      I have a Red Hat 7.3 with a US Keyboard, but i'm italian and
      i need Èá, È¿, Ȩ, ÈM-^Y, etc...

      So i enable the dead keys... When i press "'" + "a" => "Èá"
      or "'" + SPACE => "'"

      Linux applications works well (Gnome or KDE), but Java JFC
      apps no!

      When i press in a JFC application, for example, the key "'"
      + SPACE i cannot see the "'" char! Otherwise, when i press
      "'" + "a" i have correctly "Èá"

      Reproduce this problem is very easy, execute the JFC demo
      Notepad included with JDK on a Red Hat 7.3 with deadkeys
      enabled and italian support (or another european language).

      I'have the same problem with JDK 1.4.1 beta.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. enable dead keys and italian support on a Red Hat 7.3
      with a US keyboard

      2. execute "java -jar $JAVA_HOME/demo/jfc/Notepad/notepad.jar"

      3. Try to press, for example, the key "~" + SPACE or the key
      "'" + SPACE, nothing happens!

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      I expected to see the char "'" when i press "'" + SPACE
      (also for ~,",`)

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      there's no error message.
      "'", "~", "`", """ (that are dead-keys) doesn't work with SPACE keypress!

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      Simply execute the JFC Notepad demo included with JDK...
      ---------- END SOURCE ----------

      (Review ID: 159736)
      ======================================================================

            Unassigned Unassigned
            svioletsunw Scott Violet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: