View Issue Details

IDProjectCategoryView StatusLast Update
0001124NoesisGUIUnitypublic2025-02-22 19:10
Reporterweilitao Assigned Tosfernandez  
PriorityhighSeveritymajor 
Status assignedResolutionopen 
Product Version2.0.2f2 
Summary0001124: Storyboard can not contain multiple animations targeting same property
Description

When including multiple animations in a single storyboard, some of which targeting to the same property (although not at the same time). in Noesis, only the last animation can run. But in WPF, everything works as expected.

PlatformAny

Relationships

duplicate of 0000694 assignedsfernandez DoubleAnimation.BeginTime doesn't seem to work properly 
has duplicate 0003647 assignedsfernandez Storyboard only executes the last animation of multiple animations that change targets on the same property 

Activities

sfernandez

sfernandez

2022-11-15 11:41

manager   ~0008154

Last edited: 2022-11-15 11:45

More examples, from https://github.com/microsoft/WPF-Samples/blob/master/Animation/CustomAnimation/CustomAnimationExample.xaml#L233-L245

<Storyboard x:Key="CircleTimeline">
<DoubleAnimation Duration="0:0:5" From="0" To="500" Storyboard.TargetName="circleButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)"/>
<DoubleAnimation Duration="0:0:1.5" From="0" Storyboard.TargetName="circleButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)"/>
<ParallelTimeline BeginTime="0:0:0" Duration="0:0:4.5">
<customAnimations:CircleAnimation RepeatBehavior="Forever" Duration="0:0:1" Radius="40" Direction="YDirection" Storyboard.TargetName="circleButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)"/>
<customAnimations:CircleAnimation RepeatBehavior="Forever" Duration="0:0:1" Radius="40" Direction="XDirection" Storyboard.TargetName="circleButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)"/>
</ParallelTimeline>
<ParallelTimeline BeginTime="0:0:4.5">
<DoubleAnimation To="500" Duration="0:0:0.5" Storyboard.TargetName="circleButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)"/>
<DoubleAnimation To="0.0" Duration="0:0:0.5" Storyboard.TargetName="circleButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)"/>
</ParallelTimeline>
</Storyboard>

From this example it seems that multiple animations acting on the same DP are nesting the animated values (baseValue -> Animation1 -> result -> Animation2 -> finalResult), but we have to verify this.

Issue History

Date Modified Username Field Change
2017-07-14 03:27 weilitao New Issue
2018-11-01 02:14 jsantos View Status public => private
2018-11-22 10:14 sfernandez Assigned To => sfernandez
2018-11-22 10:14 sfernandez Status new => assigned
2018-11-22 10:14 sfernandez View Status private => public
2018-11-22 10:14 sfernandez Platform => Any
2018-11-22 21:32 sfernandez Relationship added duplicate of 0000694
2022-11-15 11:41 sfernandez Note Added: 0008154
2022-11-15 11:45 sfernandez Note Edited: 0008154
2025-02-22 19:10 Demond Relationship added has duplicate 0003647
2025-10-10 13:29 jsantos Category Unity3D => Unity