RFR: 8351867: No UI changes while iconified
Martin Fox
mfox at openjdk.org
Fri May 9 16:11:07 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
What can we do to get this PR moving again?
It looks like the call to `updateSceneState` is necessary. The scene state is tracking the iconified state of the window and needs to be update when the window leaves the iconified state (so `updateSceneState` should also be called when the window is maximized). Personally I think the EventHandler should also call `entireSceneNeedsRepaint`; it's the core code that stopped drawing to the window when it became iconified and so it should be the core that ask for a repaint when the window is de-iconified. But I would also be happy to update the Mac glass code to call `notifyRepaint` to match Windows and Linux.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1733#issuecomment-2867109131
More information about the openjfx-dev
mailing list