keyDown message weirdness

J. Landman Gay jacque at hyperactivesw.com
Mon Apr 17 20:45:34 EDT 2006


Devin Asay wrote:
> Can anyone confirm this for me? I have discovered that when entering  
> non-Latin (or maybe non-MacRoman) characters into a field that no  
> keyDown or rawKeyDown message gets sent. I'd like others to confirm  
> before I Bugzilla it.
> 
> Rev 2.6.1 and 2.7.dp4.
> Mac OS X 10.4.6
> PowerMac G4 and G5 DP.
> Haven't tried it on Windows (got no Windows box at home to try.)
> 
> Recipe:
> 
> Create a new stack.
> Create an editable text field.
> Open the message watcher (you'll want to suppress all but unhandled  and 
> handled messages.)
> Make sure a latin alphabet is selected from the input menu (the  little 
> flag menu.) I used the standard US keyboard.
> Type some characters into the field. Observe that the message watcher  
> shows both keyDown, rawKeyDown and keyUp, rawKeyUp messages.
> Choose a non-Latin input like Greek or Cyrillic (I've also tried it  
> with Chinese and even non-lower-ASCII latin characters.) No keyDown  or 
> rawKeyDown messages are shown, but all of the keyUp messages  register.

Maybe I haven't chosen the right font, but I seem to be getting all four 
messages. I chose a few fonts whose names were gibberish in the OS X 
Font menu. I didn't try with too many keys; are there certain keys I 
should try typing?

OS 10.4.5, Rev 2.6.1 & 2.7.x

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list