On Thu, 13 Mar 2025 10:36:40 GMT, John Hendrikx <jhendr...@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

I think this PR is the correct fix on Windows and Linux. The scene state tracks 
the minimized state of the window. When the window is restored someone needs to 
tell the scene state to go update the isWindowMinimized flag.

The Mac will require another tweak. Personally I would just modify glass to 
send notifyRepaint in this specific instance. I suppose that should be treated 
as a separate bug. Unfortunately it's going to be a bear to test given the 
strange things happening under the hood with NSScreen (at least on my system).

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

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

Reply via email to