Open JonathanGiles opened 10 years ago
Original comment by Andreas Liebelt (Bitbucket: aliebelt, GitHub: aliebelt).
I'm a little bit confused. The showAndWait method blocks and the Wizard is shown but the primary Stage is still updated in the background. I though blocking calls stops the rendering of the UI. Is there maybe something I have not understood regarding blocking method calls and UI refresh?
Original comment by Jonathan Giles (Bitbucket: JonathanGiles, GitHub: JonathanGiles).
You're conflating modality and blocking, which are two separate concepts. It sounds to me like you want a non-blocking API, which is something we can do in a future release (the code is already there, just needs uncommenting for the most part). If you can, could you do a pull request to add this functionality?
Original report by Andreas Liebelt (Bitbucket: aliebelt, GitHub: aliebelt).
There are some use cases where the UI should be updated (in the background) even if a dialog is shown.
Currently there is only a blocking
showAndWait()
method in the Wizard.I would propose to add a
show()
method to keep the UI rendered while using the Wizard. (there will be the need for a property where you can listen to for the result of the wizard)