RFR: 8351867: No UI changes while iconified
Martin Fox
mfox at openjdk.org
Fri Apr 4 20:37:53 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
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
More information about the openjfx-dev
mailing list