RFR: 8306121: Scene not rendered initially when changing scenes after fix for JDK-8296621 [v13]
Thiago Milczarek Sayao
tsayao at openjdk.org
Sat May 20 16:21:01 UTC 2023
On Sat, 20 May 2023 15:18:22 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 55 additional commits since the last revision:
>
> - Merge branch 'master' into change_scene_fix
> - Antecipate request focus
> - Merge branch 'master' into change_scene_fix
> - Fix ComboBoxTest
> - Add manual test
> - Merge branch 'master' into change_scene_fix
> - Merge branch 'openjdk:master' into master
> - Merge branch 'master' into change_scene_fix
> - Merge remote-tracking branch 'origin/master'
> - Review changes
> - ... and 45 more: https://git.openjdk.org/jfx/compare/0345ce2c...15a08963
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).
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1110#issuecomment-1555944894
More information about the openjfx-dev
mailing list