On Mon, 14 Apr 2025 16:00:10 GMT, Nir Lisker <nlis...@openjdk.org> wrote:

>> Thiago Milczarek Sayao has updated the pull request incrementally with two 
>> additional commits since the last revision:
>> 
>>  - Add "style" ib the UTILITY style like the others
>>  - Update modules/javafx.graphics/src/main/java/javafx/stage/StageStyle.java
>>    
>>    Co-authored-by: John Hendrikx <john.hendrikx+git...@gmail.com>
>
> modules/javafx.graphics/src/main/java/javafx/stage/StageStyle.java line 41:
> 
>> 39:     /**
>> 40:      * Defines a {@code Stage} style with no window decorations, such as 
>> a title bar,
>> 41:      * borders, or window controls.
> 
> Any particular reason you removed "a solid background" like `DECORATED` has? 
> The previous docs give that detail.

I restored it, but I'm still curious about when the white background should 
actually be visible. I noticed that on Linux, if a stage is shown without a 
scene, it behaves oddly—it doesn't render because there's nothing being 
painted. To fix this, I added a white background as part of the "Linux glass 
fixes" package I'm working on. I also observed that when a scene is present, a 
white background gets set automatically. But under what conditions is it 
actually visible?

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1776#discussion_r2043170320

Reply via email to