<AWT Dev> [8] Review request for 8022997: [macosx] Remaining duplicated key events

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed Aug 14 09:59:36 PDT 2013


Hi, Leonid.
Fix looks fine.
On 14.08.2013 20:44, Leonid Romanov wrote:
> Hello,
> Please review a one line fix for 8022997: [macosx] Remaining duplicated key events. NsCharToJavaChar() we call at CMenuItem.m:92 translates NSCarriageReturnCharacter (which is the key code generated by OS X when user presses "enter" key) into NSNewlineCharacter. So, in order to filter out the duplicate event at line 101, menuKey has to be NSNewlineCharacter as well. This is what the fix does.
>
> Bug: http://bugs.sun.com/view_bug.do?bug_id=8022997 (might not be available yet)
> webrev: http://cr.openjdk.java.net/~leonidr/8022997/webrev.00/
>
> Thanks,
> Leonid.
>


-- 
Best regards, Sergey.



More information about the awt-dev mailing list