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

JComboBox prevents wheel mouse scrolling of JScrollPane

    Details

    • Subcomponent:
    • Introduced In Build:
      b18
    • Introduced In Version:
    • Resolved In Build:
      b124

      Backports

        Description

        FULL PRODUCT VERSION :
        java version "1.8.0_60"
        Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
        Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)


        ADDITIONAL OS VERSION INFORMATION :
        14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64

        A DESCRIPTION OF THE PROBLEM :
        I’m observing a problem with a combo box in a scroll pane. If I use the mouse wheel to scroll (on OS X), the scrolling stops when the combo box is under the mouse. The problem is that the mouse wheel event is being consumed by the combo box, which is the result of the fix for bug 8033069. The combo box popup is not open, so there is no reason for the combo box to be consuming mouse wheel events.

        Bug report requested by Alexander Scherbatiy.


        REPRODUCIBILITY :
        This bug can be reproduced always.

          Issue Links

            Activity

            Hide
            aivanov Alexey Ivanov added a comment -
            The fix to JDK-8033069 added MouseWheelListener to JComboBox. It prevents MOUSE_WHEEL events from reaching JScrollPane beneath JComboBox.
            Show
            aivanov Alexey Ivanov added a comment - The fix to JDK-8033069 added MouseWheelListener to JComboBox. It prevents MOUSE_WHEEL events from reaching JScrollPane beneath JComboBox.
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/5dac52b37cb5
            User: aivanov
            Date: 2016-05-18 12:54:50 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/5dac52b37cb5 User: aivanov Date: 2016-05-18 12:54:50 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/5dac52b37cb5
            User: lana
            Date: 2016-06-22 19:53:10 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/5dac52b37cb5 User: lana Date: 2016-06-22 19:53:10 +0000

              People

              • Assignee:
                aivanov Alexey Ivanov
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: