<Swing Dev> Review Request: JDK-7108290 Mouse pressed event missing when canceling a JPopupMenu

Alexandr Scherbatiy alexandr.scherbatiy at oracle.com
Fri May 27 14:15:02 UTC 2016


On 5/26/2016 8:54 AM, Prem Balakrishnan wrote:
>
> Hi,
>
> Please review the fix for JDK 9
>
> *Bug:* https://bugs.openjdk.java.net/browse/JDK-7108290
>
> *Webrev:* http://cr.openjdk.java.net/~pkbalakr/7108290/webrev.00/ 
> <http://cr.openjdk.java.net/%7Epkbalakr/7108290/webrev.00/>
>
> *Cause:* Mouse pressed event was consumed by JPopupMenu during 
> cancelation of Popup.
>
> Except for Metal and Aqua LAF(Mac), this issue is reproducible in all 
> supported Look And Feels.
>
     Is it consistent with native applications behavior? For example, if 
try to open a popup in a native Windows application and then press a 
button, will the native button get the mouse event?

   Thanks,
   Alexandr.
>
> *Fix: *Mouse pressed event consumption  is Disabled for JPopupMenu 
> during cancelation of Popup.
>
> Regards,
> Prem
>

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


More information about the swing-dev mailing list