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

Michael Strauß mstrauss at openjdk.org
Wed Apr 16 18:36:49 UTC 2025


On Wed, 16 Apr 2025 18:29:18 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> It's very unlikely to cause regressions, because `needsLayoutProperty()` is not used anywhere in JavaFX. The only thing that is different now is that a listener added to this property will see the correct value when calling `isNeedsLayout()`.
>
> you are probably right, re:javafx.  applications might listen to this property, though it's rather unlikely.

Yes, but I don't think there's anything we can do about it short of not fixing the bug...

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1781#discussion_r2047499599


More information about the openjfx-dev mailing list