On Mon, 12 Oct 2026 20:53:04 GMT, Andy Goryachev <[email protected]> wrote:

> the question was around the property being reported as non-settable 
> **temporarily**

No, valid question really. I hope I answered it before. Actually lets express 
this in a test:


        root.applyCss();

        assertEquals(0.5, node.getOpacity());

        node.opacityProperty().bind(new SimpleDoubleProperty(0.2));
        assertEquals(0.2, node.getOpacity());
        root.applyCss();
        assertEquals(0.2, node.getOpacity());

        node.opacityProperty().unbind();
        assertEquals(0.2, node.getOpacity());

        root.applyCss();
        assertEquals(0.5, node.getOpacity());


It is a similar behavior as when I call `set`, that is, it will recover the 
next CSS pass where the property can be set again. When it is bound, nothing 
happens.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2343#discussion_r4252379501

Reply via email to