RFR: 8354813: Parent.isNeedsLayout() may return wrong value in property listener [v2]

John Hendrikx jhendrikx at openjdk.org
Thu Apr 17 00:07:44 UTC 2025


On Wed, 16 Apr 2025 18:43:01 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

>> A listener that is added to `Parent.needsLayoutProperty()` may see a wrong value when calling `Parent.isNeedsLayout()` from the callback. The fix is to apply the value before notifying the listeners.
>
> Michael Strauß has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:
> 
>  - Merge branch 'master' into fixes/needslayout-wrong-value
>    
>    # Conflicts:
>    #	modules/javafx.graphics/src/test/java/test/javafx/scene/ParentTest.java
>  - fix
>  - failing test

Marked as reviewed by jhendrikx (Reviewer).

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

PR Review: https://git.openjdk.org/jfx/pull/1781#pullrequestreview-2774167347


More information about the openjfx-dev mailing list