JDK-6668275 : Mouse wheel tilt does generate wrong events
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2008-02-27
  • Updated: 2011-02-16
  • Resolved: 2008-04-07
Related Reports
Duplicate :  
Description
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.

Comments
EVALUATION It's already covered by RFE 6315717.
07-04-2008

EVALUATION Reassigned to AWT team
11-03-2008