[BLUEJ-1045] Alt-Tab in Windows focuses the menu
When you alt-tab in Windows in JavaFX, the Alt keypress causes the menu to get focus. If you alt-tab back, the menu retains its focus, which is irritating.
As far as I can tell from an initial test, this is probably JavaFX's standard behaviour (I see the same in the main window and terminal as the editor window, so it's not something funky we're doing in the editor.)
There is brief mention of this issue in the last comment on this page:
https://bugs.openjdk.java.net/browse/JDK-8119000
It may be that we can implement a work-around (e.g. when window gets focus back, escape from menu?) but this seems like enough of an issue that we should perhaps file a JDK bug about it or search to see if there's some property which fixes this.
Issue metadata
- Issue type: Bug
- Priority: Medium
- Fix versions: 4.2.0