On Sun, 12 Feb 2023 22:13:41 GMT, John Hendrikx <jhendr...@openjdk.org> wrote:
> This fix hides mnemonics when the Scene's Window loses focus. > > Before integration, we need to make sure this is correct behavior for Mac and > Linux as well. It is correct for Windows. > > How to test: > > - Create a control with a mnemonic > - Alt-tab to another window (mnemonics appear when alt is pressed) > > Before: > - Window shows visible mnemonic still and reacts on them when returning > > After: > - Window hides mnemonics when focus is lost and doesn't react on them when > returning This bug doesn't affect macOS since it never enters a persistent mnemonic state (I just checked the sources). ------------- PR: https://git.openjdk.org/jfx/pull/1030