<Swing Dev> [9] Review request for 8033069: mouse wheel scroll closes combobox popup

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed May 6 19:28:09 UTC 2015


Hi, Alexey.
The changes in the BasicPopupMenuUI does not look clear, I am not sure 
but probably it will be better to implement it in the same way as for 
MOUSE_PRESSED(via UIManager property)? It will add an additional 
configuration possibility.
Can you also confirm that the case when the user install mouse wheel 
listener to the JComboBox still works.

On 06.05.15 16:30, Alexey Ivanov wrote:
> Hello Swing team,
>
> Could you please review the fix:
>     bug: https://bugs.openjdk.java.net/browse/JDK-8033069
>     webrev: http://cr.openjdk.java.net/~aivanov/8033069/jdk9/webrev.00/
>
> Description:
> If you rotate mouse wheel when combo box popup is open, the popup gets 
> closed.
>
> The fix is to always consume MOUSE_WHEEL event.
>
> There are two regression tests for the cases where popup has vertical 
> scroll bar and does not have scroll bar.
>
> Thanks,
> Alexey


-- 
Best regards, Sergey.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20150506/0a59d079/attachment.html>


More information about the swing-dev mailing list