RFR: 8306121: Scene not rendered initially when changing scenes after fix for JDK-8296621 [v12]
Thiago Milczarek Sayao
tsayao at openjdk.org
Sat May 20 15:10:01 UTC 2023
On Sun, 14 May 2023 21:35:01 GMT, Thiago Milczarek Sayao <tsayao at openjdk.org> wrote:
>> I replicated the fix on #1054 on Linux.
>>
>> Also fixes [Monocle: Stage no longer gets focus after fix for JDK-8296621](https://bugs.openjdk.org/browse/JDK-8304734)
>
> Thiago Milczarek Sayao has updated the pull request incrementally with one additional commit since the last revision:
>
> Antecipate request focus
I think the `testAnchorRight` is failing because the change exposed a bug somewhere else. The problem seems to be on the `topLeft.getBoundsInParent().getMinX()` function that returned `556` before and is returning `554.5999755859375` now. So `requestFocus` causes some recalculation that is probably wrong.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1110#issuecomment-1555932070
More information about the openjfx-dev
mailing list