[Mono-bugs] [Bug 82583][Maj] New - Bad clipping in animations

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Aug 24 19:40:34 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by alan.mcgovern at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=82583

--- shadow/82583	2007-08-24 19:40:34.000000000 -0400
+++ shadow/82583.tmp.24553	2007-08-24 19:40:34.000000000 -0400
@@ -0,0 +1,146 @@
+Bug#: 82583
+Product: Moonlight
+Version: 1_0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: media
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: alan.mcgovern at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Bad clipping in animations
+
+If the following XAML is run in mopen, the shape clips incorrectly at the end:
+
+<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+Width="800" Height="600" Name="Canvas">
+    <Canvas.Children>
+        <VisualCollection>
+            <Rectangle Canvas.Left="43.0000001982794" Canvas.Top="42"
+Width="189.999042410199" Height="151" RenderTransformOrigin="0,1"
+Name="Rectangle">
+                <Rectangle.Fill>
+                    <SolidColorBrush Color="#54785684"
+Name="SolidColorBrush" />
+                </Rectangle.Fill>
+                <Rectangle.Stroke>
+                    <SolidColorBrush Color="#78055546"
+Name="SolidColorBrush1" />
+                </Rectangle.Stroke>
+                <Rectangle.RenderTransform>
+                    <TransformGroup Name="TransformGroup">
+                        <TransformGroup.Children>
+                            <TransformCollection>
+                                <ScaleTransform Name="ScaleTransform" />
+                                <SkewTransform Name="SkewTransform" />
+                                <RotateTransform Angle="3250.00013419648"
+Name="RotateTransform" />
+                                <TranslateTransform
+Name="TranslateTransform" />
+                            </TransformCollection>
+                        </TransformGroup.Children>
+                    </TransformGroup>
+                </Rectangle.RenderTransform>
+            </Rectangle>
+            <SelectedBorder />
+        </VisualCollection>
+    </Canvas.Children>
+	<Canvas.Triggers>
+		<EventTrigger RoutedEvent="Canvas.Loaded">
+			<BeginStoryboard>
+            <Storyboard Name="Storyboard">
+                <Storyboard.Children>
+                    <TimelineCollection>
+                        <DoubleAnimationUsingKeyFrames
+Storyboard.TargetProperty="(Canvas.Left)" Storyboard.TargetName="Rectangle"
+Name="DoubleAnimationUsingKeyFrames">
+                            <DoubleAnimationUsingKeyFrames.KeyFrames>
+                                <DoubleKeyFrameCollection>
+                                    <LinearDoubleKeyFrame
+Value="29.0000001982794" KeyTime="00:00:00" Name="LinearDoubleKeyFrame" />
+                                    <LinearDoubleKeyFrame
+Value="20.0000001982794" KeyTime="00:00:01" Name="LinearDoubleKeyFrame1" />
+                                    <LinearDoubleKeyFrame
+Value="530.000000198279" KeyTime="00:00:01.9620000"
+Name="LinearDoubleKeyFrame2" />
+                                    <LinearDoubleKeyFrame
+Value="536.000000198279" KeyTime="00:00:02.9620000"
+Name="LinearDoubleKeyFrame3" />
+                                    <LinearDoubleKeyFrame
+Value="43.0000001982794" KeyTime="00:00:04" Name="LinearDoubleKeyFrame4" />
+                                </DoubleKeyFrameCollection>
+                            </DoubleAnimationUsingKeyFrames.KeyFrames>
+                        </DoubleAnimationUsingKeyFrames>
+                        <DoubleAnimationUsingKeyFrames
+Storyboard.TargetProperty="(Canvas.Top)" Storyboard.TargetName="Rectangle"
+Name="DoubleAnimationUsingKeyFrames1">
+                            <DoubleAnimationUsingKeyFrames.KeyFrames>
+                                <DoubleKeyFrameCollection>
+                                    <LinearDoubleKeyFrame
+Value="42.9962744465481" KeyTime="00:00:00" Name="LinearDoubleKeyFrame5" />
+                                    <LinearDoubleKeyFrame
+Value="372.996274446548" KeyTime="00:00:01" Name="LinearDoubleKeyFrame6" />
+                                    <LinearDoubleKeyFrame Value="6"
+KeyTime="00:00:01.9620000" Name="LinearDoubleKeyFrame7" />
+                                    <LinearDoubleKeyFrame Value="364"
+KeyTime="00:00:02.9620000" Name="LinearDoubleKeyFrame8" />
+                                    <LinearDoubleKeyFrame Value="42"
+KeyTime="00:00:04" Name="LinearDoubleKeyFrame9" />
+                                </DoubleKeyFrameCollection>
+                            </DoubleAnimationUsingKeyFrames.KeyFrames>
+                        </DoubleAnimationUsingKeyFrames>
+                        <DoubleAnimationUsingKeyFrames
+Storyboard.TargetProperty="(Rectangle.Opacity)"
+Storyboard.TargetName="Rectangle" Name="DoubleAnimationUsingKeyFrames2">
+                            <DoubleAnimationUsingKeyFrames.KeyFrames>
+                                <DoubleKeyFrameCollection>
+                                    <LinearDoubleKeyFrame Value="1"
+KeyTime="00:00:00" Name="LinearDoubleKeyFrame10" />
+                                    <LinearDoubleKeyFrame Value="0"
+KeyTime="00:00:01.9620000" Name="LinearDoubleKeyFrame11" />
+                                    <LinearDoubleKeyFrame Value="1"
+KeyTime="00:00:04" Name="LinearDoubleKeyFrame12" />
+                                </DoubleKeyFrameCollection>
+                            </DoubleAnimationUsingKeyFrames.KeyFrames>
+                        </DoubleAnimationUsingKeyFrames>
+                        <DoubleAnimationUsingKeyFrames
+Storyboard.TargetProperty="(Rectangle.RadiusY)"
+Storyboard.TargetName="Rectangle" Name="DoubleAnimationUsingKeyFrames3">
+                            <DoubleAnimationUsingKeyFrames.KeyFrames>
+                                <DoubleKeyFrameCollection>
+                                    <LinearDoubleKeyFrame Value="0"
+KeyTime="00:00:00" Name="LinearDoubleKeyFrame13" />
+                                    <LinearDoubleKeyFrame Value="272"
+KeyTime="00:00:00.1880000" Name="LinearDoubleKeyFrame14" />
+                                    <LinearDoubleKeyFrame Value="0"
+KeyTime="00:00:05.0620000" Name="LinearDoubleKeyFrame17" />
+                                </DoubleKeyFrameCollection>
+                            </DoubleAnimationUsingKeyFrames.KeyFrames>
+                        </DoubleAnimationUsingKeyFrames>
+                        <DoubleAnimationUsingKeyFrames
+Storyboard.TargetProperty="(Rectangle.RadiusX)"
+Storyboard.TargetName="Rectangle" Name="DoubleAnimationUsingKeyFrames4">
+                            <DoubleAnimationUsingKeyFrames.KeyFrames>
+                                <DoubleKeyFrameCollection>
+                                    <LinearDoubleKeyFrame Value="0"
+KeyTime="00:00:00" Name="LinearDoubleKeyFrame15" />
+                                    <LinearDoubleKeyFrame Value="255"
+KeyTime="00:00:00.1880000" Name="LinearDoubleKeyFrame16" />
+                                    <LinearDoubleKeyFrame Value="0"
+KeyTime="00:00:05.0620000" Name="LinearDoubleKeyFrame18" />
+                                </DoubleKeyFrameCollection>
+                            </DoubleAnimationUsingKeyFrames.KeyFrames>
+                        </DoubleAnimationUsingKeyFrames>
+                    </TimelineCollection>
+                </Storyboard.Children>
+            </Storyboard>
+		</BeginStoryboard>
+		</EventTrigger>
+	</Canvas.Triggers>
+</Canvas>


More information about the mono-bugs mailing list