<AWT Dev> no mouse released event after window hidden on macOS
Alan Snyder
javalists at cbfiddle.com
Fri Dec 9 22:20:42 UTC 2016
I notice this comment in LWWindowPeer:
// TODO: currently, mouse released event goes to the same component
// that received corresponding mouse pressed event. For most cases,
// it's OK, however, we need to make sure that our behavior is consistent
// with 1.6 for cases where component in question have been
// hidden/removed in between of mouse pressed/released events.
and I have observed this behavior when clicking and releasing a mouse button over a tooltip (the tooltip is hidden and no mouse released event is dispatched).
By my reading of the spec <http://download.java.net/java/jdk9/docs/api/java/awt/event/MouseEvent.html>, this is a bug.
Should I file a bug report?
Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20161209/71de99fa/attachment.html>
More information about the awt-dev
mailing list