This content has been marked as final. Show 2 replies
Follow up on the XComposite issue with the JavaFX dvelopers by creating a jira request http://javafx-jira.kenai.com
In the meantime, instead of extending popup, use a Stage to contain the Virtual Keyboard and init the StageStyle as UNDECORATED - then the system won't have to try to deal with alpha blending a transparent stage.
Thanks for the answer.
Well, as far as I know, it is not possible to set a stage ALWAYS ON TOP (or similar property). With the Popup, a user could select/change focus to various text fields and HTML input elements in WebView and the virtual keyboard was still visible.
I know I could implement onFocus Handler on all my text inputs (incuding within WebView) and bring the stage with keyboard toFront(). However, it is not definitely ideal.
On the other hand:
If I insert/remove keyboard to the scene’s layout dynamically, some components will shrinks/expand (imitating showing and hiding keyboard) and the performance is all right – which is good. But it is not ideal either – especially in multi scene environment as it is scene specific.