[Laszlo-dev] For Review: Change 20081209-maxcarlson-K Summary: swf9: prevent duplicate onkeydown events

André Bargull andre.bargull at udo.edu
Tue Dec 9 09:35:03 PST 2008


Approved.

There is still a minor difference between swf8 and swf9, for example:
- press 'A' and held down
- then press 'Shift' and held down
- then release 'A'
- and finally release 'Shift'

for swf8 (using the testcase from the bugreport), I get these results:
down key is  65
down key is  16
up key is  65
up key is  16

whereas swf9 gives:
down key is  65
down key is  16
up key is  65
down key is  16
up key is  16


On 12/9/2008 2:05 PM, Max Carlson wrote:
> Change 20081209-maxcarlson-K by maxcarlson at Bank.lan on 2008-12-09 
> 05:03:02 PST
>     in /Users/maxcarlson/openlaszlo/trunk-clean
>     for http://svn.openlaszlo.org/openlaszlo/trunk
> 
> Summary: swf9: prevent duplicate onkeydown events
> 
> Bugs Fixed: LPP-7432 - onkeydown event keep firing
> 
> Technical Reviewer: andre.bargull at udo.edu
> QA Reviewer: promanik
> 
> Details: Cache last value of onkeydown to prevent duplicate events from 
> being sent
> 
> Tests: See LPP-7432
> 
> Files:
> M      WEB-INF/lps/lfc/kernel/swf9/LzKeyboardKernel.as
> 
> Changeset: 
> http://svn.openlaszlo.org/openlaszlo/patches/20081209-maxcarlson-K.tar
> 



More information about the Laszlo-dev mailing list