RFR: 8296621: Stage steals focus on scene change [v2]
Thiago Milczarek Sayao
tsayao at openjdk.org
Wed Nov 16 12:35:11 UTC 2022
On Sun, 13 Nov 2022 01:02:36 GMT, Thiago Milczarek Sayao <tsayao at openjdk.org> wrote:
>> Simple fix to not requestFocus() on scene change.
>>
>> The attached bug sample shows that the TextField focused on the scene remains focused when the scene comes back.
>
> Thiago Milczarek Sayao has updated the pull request incrementally with one additional commit since the last revision:
>
> Add test
One thing to do is to check if a window is focused when shown on mac and windows (I checked Linux).
If it doesn't work a lot of Robot tests will fail - so if tests passes is a good indicator that it's ok.
-------------
PR: https://git.openjdk.org/jfx/pull/940
More information about the openjfx-dev
mailing list