API change RT-19955: Configuring a PopupWindow so that it consumes the event used for hiding
artem.ananiev at oracle.com
Wed May 2 04:04:40 PDT 2012
On 4/27/2012 4:06 PM, Werner Lehmann wrote:
> 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.
> What happens if I have two different popups showing at the same time,
> with different values for consumeAutoHidingEvents? This seems to
> indicate that this would rather be an application setting.
> On the other hand, if one of these two popups is a hint window it should
> never consume such events. Maybe the event should be consumed if at
> least one visible popup demands that.
> Also, please allow me to mention RT-19953 once more which is about
> autoHide not working with JFXPanel. This issue will be quite visible in
> our Swing/FX application in autumn this year unless it gets fixed until
I have just targeted it to 2.2, however right now I can't guarantee it
will be really done in 2.2 time frame...
> On 27.04.2012 13:26, Lubomir Nerad wrote:
>> to cover both (and any other future) cases. Unfortunately the
>> "consumeAutoHidingEvents" seems ambiguous to me and I can't think of a
>> better name.
>> Do you think that "consumeAutoHidingEvents" would do? Do you have a
>> better suggestion?
More information about the openjfx-dev