JDK-8136998 : JComboBox prevents wheel mouse scrolling of JScrollPane
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 8u60,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-09-22
  • Updated: 2016-10-13
  • Resolved: 2016-05-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u112Fixed 9 b124Fixed
Related Reports
Duplicate :  
Relates :  
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.


Comments
The fix to JDK-8033069 added MouseWheelListener to JComboBox. It prevents MOUSE_WHEEL events from reaching JScrollPane beneath JComboBox.
10-05-2016