Skip to content

8377100: Right Alt key recognized as Alt+AltGraph since OpenJDK 8u322 on Windows - #3293

Open
neville-studio wants to merge 1 commit into
openjdk:masterfrom
neville-studio:pr/JDK-8377100
Open

neville-studio wants to merge 1 commit into
openjdk:masterfrom
neville-studio:pr/JDK-8377100

Conversation

@neville-studio

@neville-studio neville-studio commented Nov 1, 2026 •

Copy link
Copy Markdown

Fix AltGraph detection on Windows.

Windows does not expose a direct key value for AltGraph. This change ensures
AltGraph is detected and reported as a modifier when the selected keyboard
layout provides an AltGraph key, and prevents layouts without AltGraph from
being mistakenly reported as having one.

Note: test/jdk/java/awt/event/KeyEvent/AltGraphModifier.java may fail on
Windows with a US Standard keyboard, which has no AltGraph key; this failure
may be introduced by this change. Failure on keyboards that do have an
AltGraph key is pre-existing, because Windows translates AltGraph as
Ctrl+Alt.



Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • JDK-8377100 needs maintainer approval
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

  • JDK-8377100: Right Alt key recognized as Alt+AltGraph since OpenJDK 8u322 on Windows (Bug - P3)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/3293/head:pull/3293
$ git checkout pull/3293

Update a local copy of the PR:
$ git checkout pull/3293
$ git pull https://git.openjdk.org/jdk11u-dev.git pull/3293/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 3293

View PR using the GUI difftool:
$ git pr show -t 3293

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/3293.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper

bridgekeeper Bot commented Nov 1, 2026

Copy link
Copy Markdown

👋 Welcome back neville-studio! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk

openjdk Bot commented Nov 1, 2026

Copy link
Copy Markdown

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk openjdk Bot added the rfr Pull request is ready for review label Nov 1, 2026
@neville-studio neville-studio changed the title 8377100: fix the Alt Key as Alt-Graph for Windows. 8377100: Right Alt key recognized as Alt+AltGraph since OpenJDK 8u322 on Windows Nov 1, 2026
@mlbridge

mlbridge Bot commented Nov 1, 2026

Copy link
Copy Markdown

Webrevs

@bridgekeeper

bridgekeeper Bot commented Nov 30, 2026

Copy link
Copy Markdown

@neville-studio This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a /touch or /keepalive command to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

1 participant