<div dir="ltr">Hi,<div><br></div><div>I'm developing an application for a customer and it seems like we've been hit by: <a class="gmail-issue-link" href="https://bugs.openjdk.org/browse/JDK-8090647" id="gmail-key-val" rel="4819271" style="font-family:"DejaVu Sans",sans-serif;font-size:14px;color:rgb(0,82,204)">JDK-8090647</a> (?)<br><br>Steps:<br><div><p style="margin:0px;padding:0px;line-height:1.714">1 - press alt + tab to switch to another app<br>2 - press alt + tab again to switch to javafx app again<br>3 - type a key with an associated "mnemonic action" in the javafx app (no alt key being pressed)</p><p style="margin:0px;padding:0px;line-height:1.714">4 - "mnemonic action" gets triggered even though it shouldn't<br><br>So the problem is that the alt seems to "stick" after the javafx app loses and regains focus (through alt <a class="gmail_plusreply" id="plusReplyChip-0">+</a> tab) .</p><p style="margin:0px;padding:0px;line-height:1.714"><br></p><p style="margin:0px;padding:0px;line-height:1.714">I've tested this under Windows 10 and Windows 11.<br><br>This is problematic to us since our users often use the keyboard to interact with our app and the previous version of our app (built in a different language than Java) didn't have this problem.<br><br><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;letter-spacing:normal;white-space:pre-wrap;background-color:rgb(255,255,255)">--</span><br></p></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Pedro Duque Vieira - <a href="https://www.pixelduke.com" target="_blank">https://www.pixelduke.com</a></div></div></div></div></div>