RFR: 8296621: Stage steals focus on scene change [v2]
Michael Strauß
mstrauss at openjdk.org
Mon Dec 5 16:07:22 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
tests/system/src/test/java/test/robot/javafx/scene/SceneChangeShouldNotFocusStageTest.java line 41:
> 39: import org.junit.Assert;
> 40: import org.junit.BeforeClass;
> 41: import org.junit.Test;
Since this is a new test class, you should probably use the JUnit5 API.
-------------
PR: https://git.openjdk.org/jfx/pull/940
More information about the openjfx-dev
mailing list