API change RT-19955: Configuring a PopupWindow so that it consumes the event used for hiding
richard.bair at oracle.com
Mon May 7 13:43:29 PDT 2012
>> Hi Lubo,
>> why do you think that the name is ambiguous? Seems clear to me. Some
>> other thoughts:
> I don't remember how exactly the auto-hide feature for popups is implemented. Is it sometimes triggered from Glass ("ungrab" event)? What event will be consumed in this case?
> Are we confident we'll be able to implement this property? If a popup is auto-hidden from the ungrab event handler, there may be no direct connection between this event and the mouse/key/etc. event to consume.
Before approving the API addition I guess we need to know the answer to this. Likewise, the default behavior I think is platform specific. At least in Safari, it seems that it does not consume mouse events by default that cause the popup to be closed. However I know Cocoa has an API for specifying what this behavior should be. If we add such an API, we probably will want to make sure it defaults to some platform specific value rather than always defaulting to "true" or "false"?
More information about the openjfx-dev