Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 11:31 Go to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 772
Registered: July 2009
Senior Member
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 12:05 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 5773
Registered: July 2009
Senior Member
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 12:11 Go to previous message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 772
Registered: July 2009
Senior Member
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: Tue Jul 07 22:13:39 GMT 2015

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

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