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

MouseWheelEvent detected as MouseEvent when Shift is down

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 9
    • 8u25, 9
    • client-libs
    • x86_64
    • linux

      FULL PRODUCT VERSION :
      java version "1.8.0_25"
      Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
      Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      CentOS 7 and RHEL 7

      A DESCRIPTION OF THE PROBLEM :
      When I pressed Shift and move mouse wheel the event is received as a MouseEvent instead MouseWheelEvent.
       
      isPopupTrigger was also returning true but this was fixed in JDK-8057156.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      This can be tested in http://docs.oracle.com/javase/tutorial/uiswing/events/mousewheellistener.html the mousewheelevent is never printed when Shift is down.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      MouseWheelEvent printed in the scrollpanel.
      ACTUAL -
      MouseWheelEvent is never detected when Shift is down.

      REPRODUCIBILITY :
      This bug can be reproduced always.

            aghaisas Ajit Ghaisas
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: