RFR: 8296621: Stage steals focus on scene change [v2]

Thiago Milczarek Sayao tsayao at openjdk.org
Mon Dec 5 12:19:08 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

I still think that calling it when setting the scene is not the right place to demand attention or change the window stacking order. It would be possible to implement the taskbar attention on Linux, this functionality exists.

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

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


More information about the openjfx-dev mailing list