Skip to main content



      Home
Home » Eclipse Projects » e(fx)clipse » Popups in FXCanvas do not disappear on focus lost events
Popups in FXCanvas do not disappear on focus lost events [message #1412136] Mon, 25 August 2014 07:31 Go to next message
Eclipse UserFriend
Not sure if this is the right forum:
I have embedded WebView as root of the FXCanvas scene and using an HTMLSelectElement (aka combo box). When the combo box is active and the hosting FXCanvas looses the widget focus, the combo box is still visible. Even when minimizing the application, the popup/dropdown box is still visible.
The popup disappears if it looses the focus *within* the scene, i.e. clicking onto another node which is part of the scene.
Do you have any hints how to fix/handle this behavior? I think I need to relay the SWT FocusOut event to the JavaFX scene such that it handles this itself. But I thought this is part of the JavaFX/SWT integration.
Re: Popups in FXCanvas do not disappear on focus lost events [message #1412146 is a reply to message #1412136] Mon, 25 August 2014 08:05 Go to previous messageGo to next message
Eclipse UserFriend
FXCanvas is a component part of JavaFX so you better file a JIRA against
JavaFX.

Tom

On 25.08.14 13:31, Erdal Karaca wrote:
> Not sure if this is the right forum:
> I have embedded WebView as root of the FXCanvas scene and using an
> HTMLSelectElement (aka combo box). When the combo box is active and the
> hosting FXCanvas looses the widget focus, the combo box is still
> visible. Even when minimizing the application, the popup/dropdown box is
> still visible.
> The popup disappears if it looses the focus *within* the scene, i.e.
> clicking onto another node which is part of the scene.
> Do you have any hints how to fix/handle this behavior? I think I need to
> relay the SWT FocusOut event to the JavaFX scene such that it handles
> this itself. But I thought this is part of the JavaFX/SWT integration.
Re: Popups in FXCanvas do not disappear on focus lost events [message #1412149 is a reply to message #1412146] Mon, 25 August 2014 08:11 Go to previous message
Eclipse UserFriend
Thanks!

FYI: https://javafx-jira.kenai.com/browse/RT-38417

[quote title=Thomas Schindl wrote on Mon, 25 August 2014 14:05]FXCanvas is a component part of JavaFX so you better file a JIRA against
JavaFX.

Tom


Previous Topic:Missing OSGi and Samples entries in "New" dialog
Next Topic:Embedding JavaFX in SWT E4 RCP application doesn't work
Goto Forum:
  


Current Time: Mon Apr 21 02:19:35 EDT 2025

Powered by FUDForum. Page generated in 0.02522 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top