I can reproduce this in a reduced form on my macOS 26.1 system. When I hover 
over the stoplight buttons their backgrounds are drawn incorrectly.

We take the color specified in the Scene constructor (the default is white) and 
pass it along as the NSWindow’s background color. The OS then tints the 
titlebar using that color. If we don’t set the window’s background color this 
bug goes away based on my very limited testing.

I wanted to take a closer look at what’s going on but when I launch the Digital 
Color Meter app the bug stops happening. Which is interesting.

No idea what the workaround might be short of not setting the NSWindow 
background color.

> On Dec 6, 2025, at 1:40 AM, Christopher Schnick <[email protected]> wrote:
> 
> Bump, since this mail was stuck in the moderation queue for two weeks and 
> probably nobody saw it.
> 
> On 19/11/2025 11:53 PM, Christopher Schnick wrote:
>> Hello,
>> 
>> I discovered an weird graphical glitch around the title bar buttons on macOS 
>> 26.0.1 and the latest JavaFX (but it's also there in older JavaFX versions).
>> 
>> I have no idea what causes this, there aren't any customizations configured 
>> for the Stage that I can think of. I haven't seen this happen in any other 
>> app so far.
>> 
>> It happens at least in my project's releases from 
>> https://github.com/xpipe-io/kickstartfx/releases/latest
>> 
>> Best
>> Christopher Schnick
>> 

Reply via email to