View Issue Details

IDProjectCategoryView StatusLast Update
0002052NoesisGUIC++ SDKpublic2023-09-26 20:31
Reportersfernandez Assigned Tosfernandez  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version3.0.12 
Target Version3.2.2Fixed in Version3.2.2 
Summary0002052: Storyboard Completed event triggered for all instances of a template
DescriptionWhen defining the Storyboard as part of the resources of an element of the template VisualTree
    <ControlTemplate x:Key="t" TargetType="Control">
      <Border x:Name="root" Background="Red">
        <Border.Resources>
          <Storyboard x:Key="intro">
            <ColorAnimation To="Blue" Duration="0:0:0.5" Storyboard.TargetName="root" Storyboard.TargetProperty="Background.Color"/>
          </Storyboard>
        </Border.Resources>
        <i:Interaction.Triggers>
          <i:EventTrigger EventName="MouseEnter">
            <ei:ControlStoryboardAction Storyboard="{StaticResource intro}"/>
          </i:EventTrigger>
          <ei:StoryboardCompletedTrigger Storyboard="{StaticResource intro}">
            <ei:ChangePropertyAction TargetName="root" PropertyName="Width" Value="150"/>
          </ei:StoryboardCompletedTrigger>
       </i:Interaction.Triggers>
      </Border>
    </ControlTemplate>


all instances of the template share the same Storyboard and trigger the Completed event for all controls.

In WPF each control instance has its own copy of the Storyboard and the Completed event triggers only for the corresponding instance.
TagsNo tags attached.
PlatformAny

Relationships

related to 0002634 resolvedsfernandez StoryboardCompletedTrigger is invoked for all items in list 

Activities

mshvern

mshvern

2023-07-22 00:24

reporter   ~0008609

I'm here from Googling but it does seem like the issue is the same in WPF.

Issue History

Date Modified Username Field Change
2021-06-21 10:02 sfernandez New Issue
2021-06-21 10:03 sfernandez Assigned To => sfernandez
2021-06-21 10:03 sfernandez Status new => assigned
2021-06-21 10:03 sfernandez Target Version => 3.1
2023-07-22 00:24 mshvern Note Added: 0008609
2023-07-24 13:01 sfernandez Relationship added related to 0002634
2023-07-24 13:01 sfernandez Target Version 3.1 => 3.2.2
2023-09-26 20:31 sfernandez Status assigned => resolved
2023-09-26 20:31 sfernandez Resolution open => fixed
2023-09-26 20:31 sfernandez Fixed in Version => 3.2.2