On Sun, 13 Nov 2022 01:02:36 GMT, Thiago Milczarek Sayao <tsa...@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

This will need to be carefully tested on all platforms, since 
`WindowStage::requestFocus` will no longer ever be called when a Stage is first 
created and shown. If it isn't doing anything useful (which seems the case on 
Linux), then in practice, this might not matter, but that's where the testing 
comes in.

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

PR: https://git.openjdk.org/jfx/pull/940

Reply via email to