[Laszlo-dev] For Review: Change 20090305-bargull-qXd Summary: cachebitmap blocks mouse-events

Max Carlson max at openlaszlo.org
Thu Mar 5 07:05:37 PST 2009


Approved!  I think this is better than turning off cachebitmap...

André Bargull wrote:
> Change 20090305-bargull-qXd by bargull at dell--p4--2-53 on 2009-03-05 
> 13:33:31
> in /home/Admin/src/svn/openlaszlo/trunk
> for http://svn.openlaszlo.org/openlaszlo/trunk
> 
> Summary: cachebitmap blocks mouse-events
> 
> New Features:
> 
> Bugs Fixed: LPP-7864 (partial) (SWF: cachebitmap interferes with 
> mouse-events)
> 
> Technical Reviewer: max
> QA Reviewer: (pending)
> Doc Reviewer: (pending)
> 
> Documentation:
> 
> Release Notes:
> 
> Details:
> Use the same workaround which is used for context-menus:
> -> add an invisible background when a sprite is clickable and 
> cacheAsBitmap is enabled
> Refactored "invisible background" code from setContextMenu() into 
> separate method updateBackground().
> Update setDefaultContextMenu() to prevent null-ptr exception when 
> setDefaultContextMenu(null) is called.
> 
> 
> Tests:
> testcase at bugreport in swf9
> testcase from LPP-7842 still works in swf9
> 
> Files:
> M WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
> 
> Changeset: 
> http://svn.openlaszlo.org/openlaszlo/patches/20090305-bargull-qXd.tar
> 

-- 
Regards,
Max Carlson
OpenLaszlo.org



More information about the Laszlo-dev mailing list