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

Ctrl+Alt+o sends events for Ctrl+Alt+o AND letter o

XMLWordPrintable

    • x86
    • linux

      FULL PRODUCT VERSION :
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b57)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b57, mixed mode, sharing)


      ADDITIONAL OS VERSION INFORMATION :
      Linux localhost 2.6.12-12.mm.3mdkenterprise #1 SMP Mon Sep 26 22:52:19 CEST 2005 i686 AMD Athlon(tm) XP 2800+ unknown GNU/Linux


      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Section "InputDevice"
          Identifier "Keyboard1"
          Driver "kbd"
          Option "XkbModel" "pc105"
          Option "XkbLayout" "fi"
          Option "XkbOptions" ""
      EndSection


      A DESCRIPTION OF THE PROBLEM :
      I've tested this only with jEdit 4.2final but there seems to be clear difference to running older java versions. If I press CTRL+ALT+o I get following results in jEdit "Keyboard tester" (in Utilities - Troubleshooting):

      Event KEY_PRESSED,keyCode=0x11,keyChar=0xffff,modifiers=0x2 filtered
      Event KEY_PRESSED,keyCode=0x12,keyChar=0xffff,modifiers=0xa filtered
      Event KEY_PRESSED,keyCode=0x4f,keyChar=0x6f,modifiers=0xa passed
      ==> Translated to CA<0,6f>
      Event KEY_TYPED,keyCode=0x0,keyChar=0x6f,modifiers=0xa passed
      ==> Translated to <0,6f> XXX
      Event KEY_RELEASED,keyCode=0x4f,keyChar=0x6f,modifiers=0xa passed
      Event KEY_RELEASED,keyCode=0x12,keyChar=0xffff,modifiers=0x2 filtered
      Event KEY_RELEASED,keyCode=0x11,keyChar=0xffff,modifiers=0x0 filtered

      A related problem is that if I press CTRL+ALT+o, I get the above results, if I keep ALT pressed and release CTRL and o and press o again (expecting to get ALT+o as a result) I get ALT+o followed by o. Instead, if I release all keys and press ALT+o I get only single event.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1) Press CTRL+ALT+o
      2) examine generated events
      3) Keep ALT pressed, release CTRL and o
      4) Press o (generating ALT+o)
      5) examine generated events
      6) release all keys
      7) press ALT+o
      8) compare results to step 5

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      In step 2 I would expect CTRL+ALT+o, no event for a plain o.
      In step 5 I would expect ALT+o, no event for a plain o.
      Step 8 should be identical to step 5.

      ACTUAL -
      In step 2 CTRL+ALT+o AND o
      In step 5 ALT+o AND o
      Events in step 8 are different from step 5.


      REPRODUCIBILITY :
      This bug can be reproduced often.

            yan Yuri Nesterenko
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: