[Laszlo-dev] Proposed changes to be migrated from trunk to 4.2 - swf9: mousewheel events not working in swf9 on windows and LPP-7597 - remove workaround for flash 9/10 canvas resize

Max Carlson max at openlaszlo.org
Thu Mar 5 21:01:19 PST 2009


Here are the changesets:

Change 20090207-maxcarlson-I by maxcarlson at Bank.lan on 2009-02-07 
06:56:52 PST
     in /Users/maxcarlson/openlaszlo/trunk-clean
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix mousewheel events in swf9 windows

Bugs Fixed: LPP-7731 - swf9: mousewheel events not working in swf9 on 
windows

Technical Reviewer: hminsky
QA Reviewer: promanik

Details: Uncomment the event registration for MOUSE_WHEEL - the method 
was already set up...  braino!

Tests: See LPP-7731


And:


Change 20090207-maxcarlson-J by maxcarlson at Bank.lan on 2009-02-07 
22:13:55 PST
     in /Users/maxcarlson/openlaszlo/trunk-clean
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Remove fix for canvas resizing, refactor event registration

Bugs Fixed: LPP-7597 - remove workaround for flash 9/10 canvas resize

Technical Reviewer: hminsky
QA Reviewer: promanik

Details: LzScreenKernel - Add __listeneradded flag to prevent duplicate 
registration.  Update handleResizeEvent() signature to accept an 
optional event.

LFCApplication - Move event registration to the appropriate kernel 
setCallback() methods.  Eliminate extra delegation methods.  Remove 
LzScreenKernel.handleResizeEvent() - it's no longer required.

LzMouseKernel - Move __mouseWheelHandler() and registration from 
LFCApplication

LzKeyboardKernel - Use static methods/properties instead of intializing 
the class - need a singleton anyhow.  Unify keyboard event handlers into 
shared __keyboardEvent().  Move keyboard event handlers and registration 
from LFCApplication.

Tests: See LPP-7597/7499. 
http://localhost:8080/trunk-clean/test/lfc/legals/keyboardandmouse.lzx?lzr=swf9 
runs as before.

-- 
Regards,
Max Carlson
OpenLaszlo.org


More information about the Laszlo-dev mailing list