Integrated: JDK-8090647: Mnemonics : on windows we should cancel the underscore latch when an app loses focus.
John Hendrikx
jhendrikx at openjdk.org
Wed Feb 22 13:12:40 UTC 2023
On Sun, 12 Feb 2023 22:13:41 GMT, John Hendrikx <jhendrikx at 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 pull request has now been integrated.
Changeset: 25e4ab90
Author: John Hendrikx <jhendrikx at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/25e4ab90f498ae844fe5376b75ea6c5c229ff48e
Stats: 31 lines in 2 files changed: 31 ins; 0 del; 0 mod
8090647: Mnemonics : on windows we should cancel the underscore latch when an app loses focus.
Reviewed-by: angorya, aghaisas
-------------
PR: https://git.openjdk.org/jfx/pull/1030
More information about the openjfx-dev
mailing list