<Swing Dev> right ALT key generates wrong modifiers
Semyon Sadetsky
semyon.sadetsky at oracle.com
Fri Mar 9 18:53:42 UTC 2018
Hi Peter,
Thanks for pointing that. Now
https://bugs.openjdk.java.net/browse/JDK-8194873 is created to track
this issue.
--Semyon
On 03/08/2018 07:58 PM, Peter Quiring wrote:
> A new check for VK_RMENU is generating new modifier bits for the right
> ALT key causing shortcuts to fail.
>
> http://hg.openjdk.java.net/jdk/jdk/file/ba545e52b932/src/java.desktop/windows/native/libawt/windows/awt_Component.cpp#l2718
>
> See bug # 8194873
>
> https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8194873
>
> For example:
>
> JOptionPane.showConfirmDialog(this, "Do you wish to save file?",
> "Confirm", JOptionPane.YES_NO_CANCEL_OPTION)
>
> When you type left ALT+Y it works, but right ALT+Y does NOT work.
>
> This is a regression added in Java9.
>
> Please fix asap, thanks.
>
More information about the swing-dev
mailing list