History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-4241
Type: Bug Bug
Status: Resolved Resolved
Resolution: Won't Fix
Priority: P1 P1
Assignee: Max Carlson
Reporter: Robert Yeager
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

Views clip their contents when opacity changed in R5588 IE7 DHTML

Created: 05/Jul/07 11:59 AM   Updated: 24/Jul/07 04:48 PM
Component/s: Components - all
Affects Version/s: Legals, 4.0.3
Fix Version/s: 4.0.3, Legals

Time Tracking:
Not Specified

Severity: Critical
Runtime: DHTML
Flags: External
Fix in hand: False


 Description  « Hide
This sample code demonstrates that views clips their contents when their opacity is changed in R5588 IE7 DHTML:

<canvas id="maincanvas" width="100%" height="100%" validate="false" debug="false" proxied="false" bgcolor="0xEFF1E8">
<debug x="650" y="200" width="800" height="400" fontsize="12"/>
<view id="dv" x="0" y="0" width="200" height="200" bgcolor="red">
<button x="185" text="click me">
<handler name="onclick">
parent.setAttribute("opacity", 0.5);
</handler>
</button>
</view>
</canvas>


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Benjamin Shine - 05/Jul/07 04:06 PM
This bug was reported in legals.

Philip Romanik - 06/Jul/07 05:23 AM
I verified this issue in TOT legals. This doesn't appear to be a new bug because it's present in build 4745 (4/17/2007) as well. This is an IE/dhtml only issue.


Benjamin Shine - 20/Jul/07 03:26 PM
This is present in TOT legals as of r5734, in IE7/DHTML.

Amy Muntz - 20/Jul/07 04:04 PM
Changing to 4.0.3.

Mamye Kratt - 20/Jul/07 04:25 PM
(4.0 branch (4.0.3) build r5718)
IE6-swf OK
IE6-dhtml OK
IE7-swf OK
IE7-dhtml Broken

Max Carlson - 23/Jul/07 10:30 AM
This is a simpler testcase that shows the issue - it's an IE7-specific rendering bug:

<canvas id="maincanvas" width="100%" height="100%" bgcolor="white">
<view width="100" height="100" opacity=".5" bgcolor="red">
<view resource="clickregion.swf"/>
</view>
</canvas>

A workaround is to set the size of the view with opacity to be big enough that it doesn't clip its contents (note that views with no width/height specified automatically resize to fit their contents), e.g:
<canvas id="maincanvas" width="100%" height="100%" bgcolor="white">
<view opacity=".5" bgcolor="red">
<view resource="clickregion.swf"/>
</view>
</canvas>


Max Carlson - 24/Jul/07 04:48 PM
This is an issue with the IE7 renderer. The workaround is to not set the width/height of the container that has alpha (so the view system can resize it to its contents) or set the width/height to be bigger than its contents.

See here: http://blogs.msdn.com/ie/archive/2005/04/26/412263.aspx