LPP-4137 is already fixed, just as Phil said earlier. The testcase from LPP-4839 works now, too. But bitmap-caching is now disabled by default. For example take the LPP-4839 testcase, if you look at:
- canvas.subviews[0].getMCRef().cacheAsBitmap
- canvas.subviews[1].getMCRef().cacheAsBitmap
both are set to "false".


Instead this one?
if (args['cachebitmap'] == null) args['cachebitmap'] = args['clip'] != true;
else if (args['cachebitmap'] == true && args['clip'] == true) {
if ($debug) Debug.warn('Clipping automatically disables bitmap caching');
    args['cachebitmap'] = false;
}


On 7/17/2008 7:31 PM, Max Carlson wrote:
Change 20080717-maxcarlson-P by [EMAIL PROTECTED] on 2008-07-17 10:27:47 PDT
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Turn off bitmap caching for clipped drawviews

Bugs Fixed: LPP-4839 - Text <img> images don't appear within drawviews that are set to clip in v4.0.5 SWF, LPP-4137 - drawview mouse-events broken in lzr=swf8

Technical Reviewer: promanik
QA Reviewer: [EMAIL PROTECTED]

Details: Force cachebitmap arg to false if clip is true.

Tests: See LPP-4839 and LPP-4137.

Files:
M      lps/components/extensions/drawview.lzx

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080717-maxcarlson-P.tar

Reply via email to