On Mon, 12 Oct 2026 21:14:52 GMT, Marius Hanl <[email protected]> wrote:
>> the question was around the property being reported as non-settable >> **temporarily**, which is a rather contrived scenario. >> objection withdrawn, your honor. > >> 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. +1 for another test! ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/2343#discussion_r4252460410
