On Sat, 20 May 2023 16:17:50 GMT, Thiago Milczarek Sayao <tsa...@openjdk.org> wrote:
> About the `testAnchorRight` test: I know what happened, it's the focus shadow > of the button `topLeft` - it was the first child of the AnchorPane, so it got > the focus and hence the difference in the value. Moving it in the Scene graph > fixed it (because it does not get the primary focus). This means that there will be a sometimes-noticeable difference in behavior between JavaFX 19 (before the fix for [JDK-8296621](https://bugs.openjdk.org/browse/JDK-8296621)) and JavaFX 21 (after this fix for [JDK-8306121](https://bugs.openjdk.org/browse/JDK-8306121)). I don't think this is a problem, but I'd like to take a closer look. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1110#issuecomment-1572228570