-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
9.0.1
-
x86
-
generic
FULL PRODUCT VERSION :
A DESCRIPTION OF THE PROBLEM :
See Bug # 8194873
The cause of the bug is right here:
http://hg.openjdk.java.net/jdk/jdk/file/ba545e52b932/src/java.desktop/windows/native/libawt/windows/awt_Component.cpp#l2718
The jint AwtComponent::GetJavaModifiers() function adds a check for VK_RMENU but VK_MENU will already check both ALT keys. This causes TWO bits to be set for the right ALT key which breaks many apps including built-in Swing components.
Get rid of the VK_RMENU check ASAP. Hopefully this can be included in JDK 10. Don't want to wait until JDK 11 !!!
REGRESSION. Last worked in version 8u162
ADDITIONAL REGRESSION INFORMATION:
Was working in Java8
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Remove check for VK_RMENU
A DESCRIPTION OF THE PROBLEM :
See Bug # 8194873
The cause of the bug is right here:
http://hg.openjdk.java.net/jdk/jdk/file/ba545e52b932/src/java.desktop/windows/native/libawt/windows/awt_Component.cpp#l2718
The jint AwtComponent::GetJavaModifiers() function adds a check for VK_RMENU but VK_MENU will already check both ALT keys. This causes TWO bits to be set for the right ALT key which breaks many apps including built-in Swing components.
Get rid of the VK_RMENU check ASAP. Hopefully this can be included in JDK 10. Don't want to wait until JDK 11 !!!
REGRESSION. Last worked in version 8u162
ADDITIONAL REGRESSION INFORMATION:
Was working in Java8
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Remove check for VK_RMENU
- duplicates
-
JDK-8194873 right ALT key hotkeys no longer work in Swing components
-
- Resolved
-