On Tue, 24 Mar 2026 22:24:35 GMT, Martin Fox <[email protected]> wrote:
>> Michael Strauß has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> import
>
> modules/javafx.graphics/src/main/java/com/sun/javafx/tk/quantum/WindowStage.java
> line 116:
>
>> 114: .flatMap(Scene::fillProperty)
>> 115: .subscribe(() -> {
>> 116: QuantumToolkit.getToolkit().checkFxUserThread();
>
> This isn't working reliably for me. I have a test app that sets the scene's
> fill to different Colors. The first time I set the fill this line is
> triggered but after that it doesn't fire even though the scene's fill
> property is being invalidated.
>
> If I change this to `fxStage.getScene().fillProperty().subscribe(() -> {});`
> it works consistently.
Good catch, I've fixed this.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/2068#discussion_r2984936532