-
Notifications
You must be signed in to change notification settings - Fork 542
JDK-8090647: Mnemonics : on windows we should cancel the underscore latch when an app loses focus. #1030
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
👋 Welcome back jhendrikx! A progress list of the required criteria for merging this PR into |
Webrevs
|
|
Can you provide a unit test? Reviewers: @aghaisas @andy-goryachev-oracle /reviewers 2 |
|
@kevinrushforth |
|
Any idea how to Alt-Tab on Mac? |
|
The equivalent of ALT-TAB on macOS is CMD-TAB, but I don't know the bug can happen on macOS (it was reported on Windows). |
|
This bug doesn't affect macOS since it never enters a persistent mnemonic state (I just checked the sources). |
andy-goryachev-oracle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- verified on windows 11
- no changes in behavior on mac os ventura 13.1 (as expected)
andy-goryachev-oracle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG
aghaisas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix looks good to me!
|
@hjohn This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 7 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
|
@hjohn you can integrate this when you are ready. |
|
/integrate |
|
Going to push as commit 25e4ab9.
Your commit was automatically rebased without conflicts. |
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:
Before:
After:
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jfx pull/1030/head:pull/1030$ git checkout pull/1030Update a local copy of the PR:
$ git checkout pull/1030$ git pull https://git.openjdk.org/jfx pull/1030/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1030View PR using the GUI difftool:
$ git pr show -t 1030Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/1030.diff