[Etoys-notify] [JIRA] Created: (SQ-239) World's lastKeystroke should report all keystrokes

jira at immuexa.com jira at immuexa.com
Sat May 16 08:08:31 EDT 2009


World's lastKeystroke should report all keystrokes
--------------------------------------------------

         Key: SQ-239
         URL: http://tracker.immuexa.com/browse/SQ-239
     Project: squeakland
        Type: Bug
  Components: etoys  
    Reporter: Scott Wallace
     Fix For: review
 Attachments: allKeystrokes-sw.1.cs.gz

Many user keystrokes are not reported by "world's lastKeystroke", which only currently catches keystrokes struck when the "world has keyboard focus", i.e. when no other object on the screen currently holds keyboard focus.

Thus, scripts that wish to feed off the most recent user keystroke are "missing" keystrokes hit by the user when, for example, there is some text object present on the screen which the user has inadvertently clicked on, thus giving it keyboard focus.  This problem occurred repeatedly when kids implemented Kathleen Harness's wonderful "maze" assignment.

Other, non-textual objects can also sometimes assume keyboard focus, such as list panes in various tools, and in such cases it can be even less obvious why keystrokes are not getting noticed by "world's lastKeystroke."

So to my mind, it has been a (design) bug all along for lastKeystroke not always to report in turn every keystroke as it is typed in the project, independent of any esoteric "who has keyboard focus" considerations.

The attached change-set implements the suggested change.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://tracker.immuexa.com/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



More information about the Etoys-notify mailing list