Hey @dukke!
So I ran into something quite interesting today.. I forgot in an old FXML file that I automatically maximized my application, so I added that back in. What I found out was some strange behavior that is quite noteworthy.. For whatever reason, if the Stage in question is maximized, it doesn't update right away; however if it is anything BUT maximized, it works fine. I tried setIconified(true); on the main window, and whenever I opened it back while my dialog was open it would update, as well as after the dialog had been closed and I reopened the main window (regardless of it being maximized or not when iconified). It has something to do with the focus I'm assuming?.. Anyways, something I figured I'd bring to your attention. It's probably a Windows or JFX thing, not necessarily specific to this library; but again, noteworthy nonetheless.
Here you can see the maximized behavior, pay attention to the title bar.

And this in the regular behavior in every other state.

This may be fixable/worked around if you check for the isMaximized() boolean of the stage and also check isIconified() == false, then do some trickery with the focus of the Stage. I'm going to probe further and see if I can come up with a fix. If I can I'll post an update here which could help resolve this issue for other users in future, adding a fix/work around when the ThemeManager makes changes to the window (Stage).
Hey @dukke!
So I ran into something quite interesting today.. I forgot in an old FXML file that I automatically maximized my application, so I added that back in. What I found out was some strange behavior that is quite noteworthy.. For whatever reason, if the
Stagein question is maximized, it doesn't update right away; however if it is anything BUT maximized, it works fine. I triedsetIconified(true);on the main window, and whenever I opened it back while my dialog was open it would update, as well as after the dialog had been closed and I reopened the main window (regardless of it being maximized or not when iconified). It has something to do with the focus I'm assuming?.. Anyways, something I figured I'd bring to your attention. It's probably a Windows or JFX thing, not necessarily specific to this library; but again, noteworthy nonetheless.Here you can see the maximized behavior, pay attention to the title bar.

And this in the regular behavior in every other state.

This may be fixable/worked around if you check for the
isMaximized()boolean of the stage and also checkisIconified() == false, then do some trickery with the focus of theStage. I'm going to probe further and see if I can come up with a fix. If I can I'll post an update here which could help resolve this issue for other users in future, adding a fix/work around when theThemeManagermakes changes to the window (Stage).