JDK-7141296 : [macosx] Mouse Wheel Turn closes combobox popup
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2012-01-31
  • Updated: 2016-09-26
  • Resolved: 2012-03-16
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 7 JDK 8
7u4 b13Fixed 8Fixed
Related Reports
Relates :  
Description
Steps to reproduce:
1. Run any swing application with combobox
2. Click on combobox to show popup
3. Mouse wheel on it.
Popup will close unexpectedly.

Expected results:
Selection should change

Comments
EVALUATION It is actually normal to get the mouseWheel event on the window in case the scrollBar is invisible. When JScrollPane can't scroll it doesn't consume the mouseWheel event and the Swing popup is closed on every other platform. Another serious problem is found - when the scrollBar is visible it is impossible to scroll it with the single turn of the wheel. It gets scrolled only if you rotate the wheel fast enough.
10-02-2012

EVALUATION Reproducible, for some reason we get two MouseWheelEvents. The second one is targeted for the window and BasicPopupMenu.MouseGrabber.inInPopup() returns false and closes the popup.
06-02-2012