<Swing Dev> Bug # 8194873

Peter Quiring pquiring at gmail.com
Sat Mar 3 14:16:34 UTC 2018


I found a bug in swing that was introduced in Java9.

See bug # 8194873

The problem is the addition of checking for VM_RMENU

http://hg.openjdk.java.net/jdk/jdk/file/ba545e52b932/src/java.desktop/windows/native/libawt/windows/awt_Component.cpp#l2718

Please remove this check or find another way to check for it.  This
new bit causes the right ALT shortcut keys to fail in Swing
components.

I believe the left ALT generates VK_MENU and the right alt generates
VM_MENU and VK_RMENU in Windows so the check is redudant.

Thanks.

-- 
Peter Quiring



More information about the swing-dev mailing list