On Thu, 14 May 2026 06:01:40 GMT, Christopher Schnick <[email protected]> 
wrote:

> Also, would stuff like the window border radius be considered a part of the 
> backdrop? Because that is also available to be changed via native APIs

For the clear glass effect on macOS you can change the corner radius and, yes, 
that would be one of the backdrop options. I wouldn't provide that for any of 
the other backdrop effects. You can change the corner radius of an 
NSVisualEffectView's layer but not the corner radius of the NSWindow so the 
edging visuals don't match. In theory you could use a transparent stage to get 
rid of the NSWindow visuals and try to draw the edging lines using JavaFX but 
I'm dubious that you would get good results.

In the next round I'll be removing the non-clear glass effect on macOS since 
there's some graphic artifacts showing up in the corners. I don't think it's 
designed for use by top-level windows.

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

PR Comment: https://git.openjdk.org/jfx/pull/2048#issuecomment-4452806811

Reply via email to