Hi,

I'm working on adding support for StageStyle.EXTENDED to HMCL.

We've always used StageStyle.TRANSPARENT with our own window decorations,
and this is something we ran into while moving to native decorations.

On Windows, the window briefly appears completely white before any of the
scene content becomes visible, this is unacceptable for users of dark mode.
I'm seeing this with JavaFX 27 (27.0.0+1) on Windows 11, using the D3D
pipeline.
The scene is attached before Stage.show(), and its fill is set to match the
application's background, but that doesn't seem to prevent the flash.

Is this a known issue? Is there a supported way to have the first frame
ready when the window becomes visible?

Glavo

Reply via email to