keyDown message weirdness

Devin Asay devin_asay at byu.edu
Mon Apr 17 17:23:18 EDT 2006


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.

It feels like a bug to me, but maybe it's just a really obscure  
feature. :-/

Devin




Devin Asay
Humanities Technology and Research Support Center
Brigham Young University




More information about the use-livecode mailing list