RFR: 8359899: Stage.isFocused() returns invalid value when Stage fails to receive focus
Martin Fox
mfox at openjdk.org
Mon Nov 3 12:40:04 UTC 2025
On Tue, 28 Oct 2025 11:23:53 GMT, Lukasz Kostyra <lkostyra at openjdk.org> wrote:
> I played around with this for a bit and I cannot reproduce this behavior. When I start the app it gets brought to foreground and stage.isFocused() returns true as it should for me.
>
> Could it be the difference between Windows versions maybe? I'm running Win 11 24H2 at this point in time.
I'm also running an up-to-date version of Win 11. I can reproduce the ::SetForegroundWindow failure when launching from a MinGW terminal window but not from a Cygwin terminal.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1849#issuecomment-3480320468
More information about the openjfx-dev
mailing list