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

Mouse wheel tilt does generate wrong events

XMLWordPrintable

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

      FULL PRODUCT VERSION :
      java version "1.6.0_04"
      Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
      Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Linux linux 2.6.22.16-0.1-default #1 SMP 2008/01/23 14:28:52 UTC i686 i686 i386 GNU/Linux

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Logitech USB-PS/2 Optical Mouse connected to X11 via evdev driver.

      A DESCRIPTION OF THE PROBLEM :
      Mouse wheel tilt left and right generate the same event, so that they are not distinguishable. Both are reported as a sequence of MousePressed, MouseRelease and MouseClicked events for the button 0.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Catch and display mouse events.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Mouse wheel tilt left and right should generate MousePressed, MouseRelease and MouseClicked events for buttons number 6 and 7 respectively (as buttons 4 and 5 are assigned to mouse wheel even if they are reported to Java environment as MouseWheelMoved event).
      ACTUAL -
      See description.

      REPRODUCIBILITY :
      This bug can be reproduced always.

            dav Andrei Dmitriev (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: