[8u60] RFR: RT37399: Mac: Command-period generates spurious KeyEvents on Mac OS
Morris Meyer
morris.meyer at oracle.com
Fri Jan 9 22:31:51 UTC 2015
Kevin and David,
Could you look over my fix for this issue? I thought about putting the
special casing in the GlassViewDelegate and changing the return value of
sendJavaKeyEvent to return a boolean. I think this way might be a bit
cleaner.
This issue is caused by the MacOS processing of Command-DOT, which when
triggers causes two performKeyEquivalent: NSEvent *event invocations
which were giving us spurious KeyEvents. The fix special cases the
Command-DOT and returns YES which nicely eats the second
performKeyEquivalent.
Thanks,
--mm
JIRA - https://javafx-jira.kenai.com/browse/RT-37399
WEBREV - http://cr.openjdk.java.net/~morris/RT-37399.01
More information about the openjfx-dev
mailing list