<Swing Dev> Swing dev>[10] Review request for JDK-8189253: [macos] JPopupMenu is inadvertently shown when using setComponentPopupMenu
semyon.sadetsky at oracle.com
semyon.sadetsky at oracle.com
Fri Dec 8 16:25:17 UTC 2017
Hi Manajit,
Can you provide information which fix caused the regression?
--Semyon
On 12/8/17 5:53 AM, Manajit Halder wrote:
> Hi All,
>
> Kindly review the following Swing fix.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8189253
> Webrev: http://cr.openjdk.java.net/~mhalder/8189253/webrev.00/
> <http://cr.openjdk.java.net/%7Emhalder/8189253/webrev.00/>
>
> Cause:
> Issue was due to retargeting of mouse enter exit events.
> MOUSE_ENTER and MOUSE_EXIT events were sent on the parent window
> (JFrame) in between MOUSE_PRESS and MOUSE_RELEASE events on the
> modeless JDialog.
>
> Fix:
> Retargeting of events is not done in-between MOUSE_PRESS and
> MOUSE_RELEASE.
>
> Regards,
> Manajit
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20171208/e3a5ede1/attachment.html>
More information about the swing-dev
mailing list