View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003071 | NoesisGUI | Studio | public | 2024-02-06 17:13 | 2024-02-20 15:50 |
| Reporter | fllorens | Assigned To | dfranjic | ||
| Priority | normal | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Target Version | Studio_Alpha | ||||
| Summary | 0003071: Crash deleting storyboard used in a trigger | ||||
| Description | As seen here: https://youtu.be/oaUVXU9o_IE?feature=shared&t=11 | ||||
| Attached Files | |||||
| Platform | Any | ||||
|
20240207_133458.xaml (18,964 bytes)
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" xmlns:b="http://schemas.microsoft.com/xaml/behaviors" xmlns:noesis="clr-namespace:NoesisGUIExtensions">
<Page.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,-0.0385396">
<GradientStop Color="#FF184C79" Offset="0"/>
<GradientStop Color="#FF1B5688" Offset="0.050000012"/>
<GradientStop Color="#FF123859" Offset="1"/>
</LinearGradientBrush>
</Page.Background>
<Page.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Assets/Resources.xaml"/>
</ResourceDictionary.MergedDictionaries>
<ControlTemplate x:Key="ButtonControlTemplate1" TargetType="{x:Type Button}">
<Grid x:Name="RootGrid">
<Grid.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Grid.RenderTransform>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="FocusStates">
<VisualStateGroup.Transitions>
<VisualTransition GeneratedDuration="00:00:00.1000000" To="Focused"/>
<VisualTransition From="Focused" GeneratedDuration="00:00:00.2000000"/>
</VisualStateGroup.Transitions>
<VisualState x:Name="Focused">
<Storyboard RepeatBehavior="Forever">
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="InnerFocus" Storyboard.TargetProperty="(UIElement.Opacity)">
<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="OuterFocus" Storyboard.TargetProperty="(UIElement.Opacity)">
<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="LeftRec" Storyboard.TargetProperty="(UIElement.Opacity)">
<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="LeftRec" Storyboard.TargetProperty="(Shape.StrokeThickness)">
<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Chevron" Storyboard.TargetProperty="(UIElement.Opacity)">
<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0.20226622">
<EasingDoubleKeyFrame.EasingFunction>
<SineEase EasingMode="EaseInOut"/>
</EasingDoubleKeyFrame.EasingFunction>
</EasingDoubleKeyFrame>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Chevron" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="TopEffect" Storyboard.TargetProperty="(UIElement.Opacity)">
<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Grid0" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Grid0" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
</DoubleAnimationUsingKeyFrames>
<ColorAnimationUsingKeyFrames Storyboard.TargetName="ContentHost" Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)">
<EasingColorKeyFrame KeyTime="00:00:00" Value="#FFFFFFFF"/>
</ColorAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Grid0" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
<EasingDoubleKeyFrame KeyTime="00:00:00" Value="15"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Unfocused"/>
</VisualStateGroup>
<VisualStateGroup x:Name="CommonStates">
<VisualStateGroup.Transitions>
<VisualTransition GeneratedDuration="00:00:00.1000000" To="Pressed"/>
</VisualStateGroup.Transitions>
<VisualState x:Name="Normal"/>
<VisualState x:Name="MouseOver"/>
<VisualState x:Name="Pressed">
<Storyboard>
<PointAnimationUsingKeyFrames Storyboard.TargetName="LeftRec" Storyboard.TargetProperty="(UIElement.RenderTransformOrigin)">
<EasingPointKeyFrame KeyTime="00:00:00" Value="0,0"/>
</PointAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="LeftRec" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
<EasingDoubleKeyFrame KeyTime="00:00:00" Value="4">
<EasingDoubleKeyFrame.EasingFunction>
<CircleEase EasingMode="EaseOut"/>
</EasingDoubleKeyFrame.EasingFunction>
</EasingDoubleKeyFrame>
<EasingDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1">
<EasingDoubleKeyFrame.EasingFunction>
<CircleEase EasingMode="EaseIn"/>
</EasingDoubleKeyFrame.EasingFunction>
</EasingDoubleKeyFrame>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Disabled"/>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Viewbox>
<Grid x:Name="Grid0" Width="568" Height="81" RenderTransformOrigin="0.5,0.5">
<Grid.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="0.95" ScaleY="0.95"/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform X="-1"/>
</TransformGroup>
</Grid.RenderTransform>
<Path x:Name="BG" Data="M0.692248,1.36198L0.692248,80.1187 545.05,80.1187 566.891,41.386 545.05,1.36198z" StrokeThickness="1" Stretch="Fill" Margin="0,0.757,0,0" Height="79.75675" HorizontalAlignment="Right" VerticalAlignment="Center" Width="567.19904" Fill="{DynamicResource LinearGradientBrush.BG}"/>
<Path x:Name="Outer" Data="M6.12339,5.71339L541.513,5.71339 560.971,40.5573 541.513,75.1805 6.12339,75.1805z" Stretch="Fill" Height="72" HorizontalAlignment="Center" VerticalAlignment="Center" Width="560.0648" Stroke="{DynamicResource LinearGradientBrush.Outer}" StrokeThickness="4" Margin="0.065,1,0,0"/>
<Path x:Name="OuterFocus" Data="M5.95056,5.52686L541.275,5.52686 560.491,40.4129 541.275,74.1451 5.95056,74.1451z" StrokeThickness="4" Stretch="Fill" Margin="0.54,0,0,0.382" Height="72.61832" HorizontalAlignment="Center" VerticalAlignment="Center" Width="558.5396" Stroke="{DynamicResource LinearGradientBrush.OuterFocus}" Opacity="0"/>
<Path x:Name="Inner" Data="M6.79923,11.8919L535.673,11.8919 551.374,40.9875 535.673,68.9939 6.79923,68.9939z" StrokeThickness="4" Stretch="Fill" Height="61.10196" HorizontalAlignment="Center" VerticalAlignment="Center" Width="548.5742" Stroke="{DynamicResource LinearGradientBrush.Inner}" Margin="0,0,4,0"/>
<Path x:Name="InnerFocus" Data="M6.16906,11.8915L536.043,11.8915 552.202,40.6946 536.249,68.6816 6.37489,68.6816z" StrokeThickness="4" Stretch="Fill" Height="60.790012" HorizontalAlignment="Center" VerticalAlignment="Center" Width="550.03156" Stroke="{DynamicResource LinearGradientBrush.InnerFocus}" Margin="0,0,5,0" Opacity="0"/>
<Rectangle x:Name="LeftRec" Margin="11,0.411,0,0" Height="59.410614" HorizontalAlignment="Left" VerticalAlignment="Center" Width="8" Fill="#FF215078" Opacity="0">
<Rectangle.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Rectangle.RenderTransform>
</Rectangle>
<Path x:Name="Chevron" Data="M529.714,19.4303L540.687,39.8584 530.226,60.7696 521.182,60.5965 531.572,39.57 521.017,19.3996z" Fill="{DynamicResource SolidColorBrush.Chevron}" StrokeThickness="1" Stretch="Fill" Margin="0,1.37,23.528,0" Height="42.36991" HorizontalAlignment="Right" VerticalAlignment="Center" Width="20.67096" RenderTransformOrigin="0.5,0.5" Opacity="0">
<Path.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform X="-70"/>
</TransformGroup>
</Path.RenderTransform>
</Path>
<TextBlock x:Name="ContentHost" Text="{Binding Path=Content, RelativeSource={RelativeSource TemplatedParent}}" TextWrapping="Wrap" HorizontalAlignment="Center" VerticalAlignment="Center" FontFamily="Assets/#Aero Matics" FontSize="50" TextAlignment="Center" Padding="0,3,16,0" CharacterSpacing="11" Width="218" Height="61" Margin="0,0,0.199,0">
<TextBlock.Foreground>
<SolidColorBrush Color="#FF2C94CD"/>
</TextBlock.Foreground>
</TextBlock>
<Path x:Name="TopEffect" Data="M9.81848,1.1511L545.361,1.32794" StrokeThickness="4" Stretch="Fill" Height="5" HorizontalAlignment="Center" VerticalAlignment="Center" Width="539.54297" Stroke="{DynamicResource LinearGradientBrush.FocusDetail}" Margin="0,0,18,70" Opacity="0"/>
</Grid>
</Viewbox>
</Grid>
</ControlTemplate>
<StreamGeometry x:Key="StreamGeometry.001"/>
<StreamGeometry x:Key="StreamGeometry.002"/>
<Point x:Key="Point.001">0,0.5</Point>
</ResourceDictionary>
</Page.Resources>
<Grid x:Name="LayoutRoot" HorizontalAlignment="Center" VerticalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="8*"/>
<RowDefinition Height="80*"/>
<RowDefinition Height="12*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="5*"/>
<ColumnDefinition Width="90*"/>
<ColumnDefinition Width="5*"/>
</Grid.ColumnDefinitions>
<Grid x:Name="MainGrid" Grid.Column="1" Grid.Row="1">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid x:Name="Grid0" Grid.Row="1" Height="640" HorizontalAlignment="Center" VerticalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="100*"/>
<RowDefinition Height="100*"/>
<RowDefinition Height="30*"/>
<RowDefinition Height="100*"/>
<RowDefinition Height="30*"/>
<RowDefinition Height="100*"/>
</Grid.RowDefinitions>
<Button x:Name="Button2" Content="START" Grid.Row="1" Margin="60,0,0,0" Template="{DynamicResource ButtonControlTemplate1}" RenderTransformOrigin="{DynamicResource Point.001}">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Button.RenderTransform>
<b:Interaction.Triggers>
<b:EventTrigger EventName="MouseEnter">
<noesis:SetFocusAction/>
</b:EventTrigger>
<b:EventTrigger EventName="GotFocus">
<b:PlaySoundAction Source="Assets/AudioSlide.mp3"/>
</b:EventTrigger>
<b:EventTrigger EventName="Click">
<b:PlaySoundAction Source="Assets/AudioClick.mp3"/>
</b:EventTrigger>
</b:Interaction.Triggers>
</Button>
<Button x:Name="Button1" Content="SETTINGS" Visibility="Visible" Grid.Row="3" Margin="60,0,0,0" Template="{DynamicResource ButtonControlTemplate1}" RenderTransformOrigin="0.0,0.5">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Button.RenderTransform>
<b:Interaction.Triggers>
<b:EventTrigger EventName="MouseEnter">
<noesis:SetFocusAction/>
</b:EventTrigger>
</b:Interaction.Triggers>
</Button>
<Button x:Name="Button0" Content="EXIT" Visibility="Visible" Grid.Row="5" Grid.RowSpan="1" Margin="60,0,0,0" Template="{DynamicResource ButtonControlTemplate1}" RenderTransformOrigin="0.0,0.5">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Button.RenderTransform>
<b:Interaction.Triggers>
<b:EventTrigger EventName="MouseEnter">
<noesis:SetFocusAction/>
</b:EventTrigger>
</b:Interaction.Triggers>
</Button>
</Grid>
<Viewbox HorizontalAlignment="Center" VerticalAlignment="Center" Height="200">
<Grid x:Name="LogoGrid" HorizontalAlignment="Center" VerticalAlignment="Center">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<StackPanel x:Name="StackPanel0" Orientation="Horizontal" Margin="0" HorizontalAlignment="Right" Width="273.5" VerticalAlignment="Center" Grid.Column="1">
<Path x:Name="Noesis" Data="F1M84.7,28.2h-0.3c-0.7,0 -1.4,-0.3 -1.9,-0.7 -0.4,-0.3 -0.9,-1 -1.4,-1.6L72.6,13c-1,-1.3 -2.1,-2.3 -2.9,-2.9 -1.3,-0.5 -2.3,-0.8 -4,-0.8h-6.2V34h5.8V15h0.3c0.7,0 1.1,0.2 1.7,0.6 0.6,0.5 1.1,1.1 1.5,1.7l8.5,13c1,1.3 1.7,2 2.6,2.9 1.3,0.6 2.6,0.9 4.4,0.9h6.2V9.2h-5.8L84.7,28.2 84.7,28.2z M115.5,9.2h-12.3c-6.2,0 -9.4,2.6 -9.4,7.9v9c0,5.2 3.2,7.9 9.4,7.9h12.3c6.2,0 9.4,-2.6 9.4,-7.9v-9C124.8,11.9 121.7,9.2 115.5,9.2L115.5,9.2z M118.7,26.1c0,1.3 -1.1,2.1 -3.2,2.1h-12.3c-2.1,0 -3.3,-0.6 -3.3,-2.1v-9c0,-1.4 1.1,-2.1 3.3,-2.1h12.3c2.1,0 3.2,0.7 3.2,2.1V26.1z M134,27v-2.5h24.9v-5.8H134v-2.5c0,-0.8 0.5,-1.3 1.3,-1.3H159V9.2h-23.6c-5,0 -7.4,2 -7.4,6v12.6c0,4 2.5,6.1 7.4,6.1h23.8v-5.8h-23.8C134.4,28.2 134,27.8 134,27L134,27z M185.6,18.7h-16.2c-0.9,0 -1.4,-0.3 -1.4,-0.9v-1.9c0,-0.6 0.5,-0.9 1.4,-0.9h22.8V9.2h-22.9c-5,0 -7.4,2 -7.4,6v3.9c0,3.5 2.5,5.3 7.4,5.3h16.2c0.9,0 1.3,0.3 1.3,0.9v2c0,0.6 -0.5,0.9 -1.3,0.9h-22.9V34h22.9c5,0 7.5,-2 7.5,-5.9v-3.4C193,20.7 190.5,18.7 185.6,18.7L185.6,18.7z M196.1,9.2h6.1v24.7h-6.1V9.2z M229.1,18.7h-16.2c-0.9,0 -1.5,-0.3 -1.5,-0.9v-1.9c0,-0.6 0.5,-0.9 1.5,-0.9h22.9V9.2h-22.9c-5,0 -7.5,2 -7.5,6v3.9c0,3.5 2.5,5.3 7.5,5.3h16.2c0.9,0 1.3,0.3 1.3,0.9v2c0,0.6 -0.5,0.9 -1.3,0.9h-22.9V34h22.9c5,0 7.4,-2 7.4,-5.9v-3.4C236.4,20.7 233.9,18.7 229.1,18.7L229.1,18.7z" Fill="#FFFFFFFF" Stretch="Fill" Height="24.900002" Width="177" VerticalAlignment="Stretch" Margin="11,0,0,0"/>
<Path x:Name="GUI" Data="F1M310.8,27.3c0,0.6 -0.5,0.9 -1.3,0.9h-16.2c-0.9,0 -1.5,-0.3 -1.5,-0.9v-18h-6.1V28c0,4 2.5,6.1 7.4,6.1h16.2c5,0 7.4,-2 7.4,-5.9v-19h-6.1v18.2L310.8,27.3 310.8,27.3z M319.9,9.2h6.1v24.7h-6.1V9.2z M269,18.8v6.1h7.6v3.2H259c-0.9,0 -1.5,-0.5 -1.5,-1.3V16.2c0,-0.8 0.5,-1.3 1.5,-1.3h23V9.2h-23c-5,0 -7.5,2 -7.5,6v12.6c0,4 2.5,6.1 7.5,6.1h23.7V18.8H269L269,18.8 269,18.8z" Fill="#FF30A4DC" Stretch="Fill" Height="24.9" Width="74.5" VerticalAlignment="Center" Margin="11,0,0,0" RenderTransformOrigin="0.5,0.5">
<Path.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Path.RenderTransform>
</Path>
</StackPanel>
<Grid x:Name="LineGrid" Margin="0" HorizontalAlignment="Left" Width="45.399994" VerticalAlignment="Center" Height="43.300003" RenderTransformOrigin="0.5,0.5">
<Grid.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Grid.RenderTransform>
<Path x:Name="Line3" Data="F1M32.7,38L21,36.7 14.3,21 14.2,21 19.5,14 13.9,13.2 8.6,20.4 17.5,41.2 35,43.3 40.3,36.2 38.2,31.2z" Fill="#FF30A4DC" Stretch="Fill" Height="30.099998" Width="31.699999" Margin="8.6,13.2,5.1,0"/>
<Path x:Name="Line1" Data="F1M12.7,10.4L29.7,12.5 33.1,20.5 36.5,16.1 32.9,7.8 10.4,5.1 0,19.1 3.5,27.3 8.8,28 5.7,19.9z" Fill="#FF30A4DC" Stretch="Fill" Height="22.9" Width="36.5" Margin="0,5.1,8.9,15.3"/>
<Path x:Name="Line_2" Data="F1M38.3,1.1L29.6,0 26.3,4.3 35,5.7 35.1,5.7 39.6,16.4 29.4,30.1 20.6,29 22.8,34.2 31.8,35.2 45.4,17.1z" Fill="#FF30A4DC" Stretch="Fill" Height="35.2" Width="24.800001" Margin="20.6,0,0,8.1"/>
</Grid>
</Grid>
</Viewbox>
</Grid>
</Grid>
<Page.Triggers>
<EventTrigger RoutedEvent="Loaded">
<BeginStoryboard x:Name="Intro2_Begin" Storyboard="{StaticResource Intro2}"/>
</EventTrigger>
</Page.Triggers>
</Page> |
|
|
The XAML was failing on validation because the deleted resource was referenced {StaticResource Intro2}. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-02-06 17:13 | fllorens | New Issue | |
| 2024-02-06 17:13 | fllorens | File Added: deletingStoryboardTrigger.dmp | |
| 2024-02-07 13:39 | sfernandez | Assigned To | => dfranjic |
| 2024-02-07 13:39 | sfernandez | Status | new => assigned |
| 2024-02-07 13:39 | sfernandez | Target Version | => Studio_Alpha |
| 2024-02-07 13:39 | sfernandez | Note Added: 0009170 | |
| 2024-02-07 13:39 | sfernandez | File Added: 20240207_133458.xaml | |
| 2024-02-20 15:50 | dfranjic | Status | assigned => resolved |
| 2024-02-20 15:50 | dfranjic | Resolution | open => fixed |
| 2024-02-20 15:50 | dfranjic | Note Added: 0009222 |