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

Michael Strauß mstrauss at openjdk.org
Wed Apr 16 18:43:01 UTC 2025


> 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

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

Changes: https://git.openjdk.org/jfx/pull/1781/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1781&range=01
  Stats: 28 lines in 3 files changed: 26 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jfx/pull/1781.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1781/head:pull/1781

PR: https://git.openjdk.org/jfx/pull/1781


More information about the openjfx-dev mailing list