approved

On Tue, May 26, 2009 at 5:45 PM, Max Carlson <[email protected]> wrote:

> Change 20090526-maxcarlson-v by maxcarl...@bank on 2009-05-26 14:35:12 PDT
>    in /Users/maxcarlson/openlaszlo/trunk-clean
>    for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Prevent stuck keys in OS X DHTML
>
> Bugs Fixed: LPP-8210 - phantom keys marked as down in DHTML
> lz.Keys.downKeysArray if you use the Apple key in OSX
>
> Technical Reviewer: hminsky
> QA Reviewer: ptw
>
> Details: LzKeyboardKernel - Track meta (apple) key in __downKeysHash.  Add
> __keyCodes hash to store original key codes for use later - so they can be
> retrieved based on the string value.  Prevent sending 224 - meta key events.
>  If detectstuckkeys quirk is on (currently only OS X) detect keys that may
> still be down when the meta key goes up.  If a stuck key was found, generate
> an appropriate keyup event.
>
> LzSprite - Add detectstuckkeys quirk, enable for OS X.
>
> Tests: lz.Keys.downKeysArray no longer has extra entries for meta keys,
> e.g. 'a' after pressing/releasing apple-a.
>
> Files:
> M      WEB-INF/lps/lfc/kernel/dhtml/LzKeyboardKernel.js
> M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
>
> Changeset:
> http://svn.openlaszlo.org/openlaszlo/patches/20090526-maxcarlson-v.tar
>



-- 
Henry Minsky
Software Architect
[email protected]

Reply via email to