Command+[CVX] - question for Apple guys

Alexander Potochkin Alexander.Potochkin at oracle.com
Mon Sep 19 07:35:36 PDT 2011


Hello

I am working on
http://java.net/jira/browse/MACOSX_PORT-74
and found that with official Mac JDK 6 you can see the following key 
events generated:

Press Command key - > KeyPressed generated
then press any of [CVX] -> No new AWT events generated
but the clipboard works as expected

on our Mac port

Hitting [CVX] with the Command key pressed leads to generating pressed, 
typed and released events
so it is no surprising that extra symbols are printed

The natural idea is to introduce a special case for this situation and 
don't generate AWT events there.
I wonder if Mac JDK does this way?

Are there any other cases when we should suppress generating AWT key 
events with any other key combinations?

Thanks
alexp


More information about the macosx-port-dev mailing list