RFR: 8351867: No UI changes while iconified

Thiago Milczarek Sayao tsayao at openjdk.org
Thu Apr 10 16:51:39 UTC 2025


On Thu, 13 Mar 2025 10:36:40 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:

> Adds code to trigger a scene update when a Window is restored
> 
> This seems to solve https://bugs.openjdk.org/browse/JDK-8351867 and https://bugs.openjdk.org/browse/JDK-8146479

About the comment on the change:

After some experiments, I’d say the size can change because you can call `setFullScreen(true)` or `setMaximized(true)` and then deiconify. While this doesn’t directly set the width and height of the Scene, the actual scene size does change. 

Anyways, this is just a comment for a case to consider, but the change does make the scene repaint in this case.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1733#issuecomment-2794509723


More information about the openjfx-dev mailing list