On Tue, 6 Jun 2023 01:09:36 GMT, Thiago Milczarek Sayao <tsa...@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 incrementally with one > additional commit since the last revision: > > Insert copyright It seems Headless monocle was not focusing the window before, so this is why tests were passing before (focus was not being accounted). I've attached a simple `FocusTest` on JBS that prints to the console when Stage/TextField are focused. It does not print anything before this change. `java -Dglass.platform=Monocle -Dmonocle.platform=Headless -Dprism.order=sw @build/testrun.args FocusTest.java` ------------- PR Comment: https://git.openjdk.org/jfx/pull/1110#issuecomment-1583268444