On Tue, 10 Jun 2025 08:27:53 GMT, Lukasz Kostyra <lkost...@openjdk.org> wrote:

> I'm trying to figure out how to exactly proceed with this. It would be nice 
> to add this change and to also have the test in the repository, but it does 
> fail for some cases like you mentioned (and I also verified that on my 
> Windows machine). Would those cases be fixable?

Sorry, my earlier comment was a bit terse. This is all fixable. When the stage 
is de-iconified we need to call `updateSceneState` to fix up the state and then 
`entireSceneNeedsRepaint` to repaint on the next pulse. Currently for the 
second step we're relying on Glass to call `notifyPaint` but that never happens 
on Mac and also doesn't happen for TRANSPARENT stages on Windows (I haven't 
tested Linux). Rather than expecting every Glass implementation to get this 
right for every stage style we should call `entireSceneNeedsRepaint` in the 
core code. That should fix all cases including TRANSPARENT stages on Windows.

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

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

Reply via email to