View Issue Details

IDProjectCategoryView StatusLast Update
0002986NoesisGUIStudiopublic2024-03-04 13:12
Reporterdstewart Assigned Tosfernandez  
PriorityhighSeveritymajor 
Status resolvedResolutionfixed 
Product VersionStudio_Alpha 
Target VersionStudio_AlphaFixed in VersionStudio_Alpha 
Summary0002986: Selecting a Colour Resource from the Colour Picker Crashes Studio
Description

Occurs when applying a Colour Resource to a Grid within a Button Template. Video attached.

Steps To Reproduce

1) Create a couple Colour Resources.
2) Create a new Button Template.
3) Within the button, create a grid, and set its background to one of the Colour Resources.
Observe how the application crashes.

Expected Result:
Colours can be applied without a crash.

Attached Files
MainMenu.xaml (5,634 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"
      Background="#FF4D5052">
  <Page.Resources>
    <ResourceDictionary>
      <Color x:Key="Color.001">#FF02003D</Color>
      <Color x:Key="Color.002">#FF91BC39</Color>
      <Color x:Key="Color.003">#FFBFBFBF</Color>
    </ResourceDictionary>
  </Page.Resources>
  <Grid x:Name="Master">
    <Grid x:Name="Backgrounds">
      <MediaElement x:Name="Background_Idle" Source="Assets/Video/Video_AnimatedMechBackground_Idle.mp4" Stretch="UniformToFill"/>
      <MediaElement x:Name="Background_Intro" Source="Assets/Video/Video_AnimatedMechBackground_Intro.mp4" Stretch="UniformToFill"/>
    </Grid>
    
    <Grid x:Name="Interface">
      <Grid x:Name="InterfaceGrid">
        <Grid.ColumnDefinitions>
          <ColumnDefinition Width="1*"/>
          <ColumnDefinition Width="1*"/>
          <ColumnDefinition Width="1*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
          <RowDefinition Height="16"/>
          <RowDefinition Height="Auto"/>
          <RowDefinition Height="1*"/>
          <RowDefinition Height="32"/>
        </Grid.RowDefinitions>
        <Grid x:Name="FooterBar" Grid.Row="3" Grid.ColumnSpan="3" Margin="0" HorizontalAlignment="Center" Width="1920" VerticalAlignment="Center" Height="32">
          <Grid.Background>
            <SolidColorBrush Color="{DynamicResource Color.001}" Opacity="0.2"/>
          </Grid.Background>
        </Grid>
        <Grid x:Name="HeaderBar" Grid.ColumnSpan="3" Margin="0" HorizontalAlignment="Center" Width="1920" VerticalAlignment="Center" Height="16">
          <Grid.Background>
            <SolidColorBrush Color="{DynamicResource Color.001}" Opacity="0.2"/>
          </Grid.Background>
        </Grid>
        <Viewbox x:Name="Logo_Viewbox" Width="64" Height="64" Grid.Row="2" VerticalAlignment="Bottom" HorizontalAlignment="Right" Grid.Column="2" Margin="0">
          <Grid>
            <Canvas Height="720" Width="720">
              <Path Data="F1M0,0h720v720h-720z" StrokeThickness="0" Stretch="Fill" Height="720" Width="720" Canvas.Top="0" Canvas.Left="0"/>
              <Path Data="F1M461.76,35.96L592.16,70.9 662.12,331.4 439.47,553.79 309.07,518.85 285.75,432.01 416.15,466.95 575.18,308.11 528.54,134.44 398.14,99.5 461.76,35.96z" StrokeThickness="0" Stretch="Fill" Height="517.83" Width="376.37" Canvas.Top="35.96" Canvas.Left="285.75">
                <Path.Fill>
                  <SolidColorBrush Color="{DynamicResource Color.001}"/>
                </Path.Fill>
              </Path>
              <Path Data="F1M496.74,166.21L531.72,296.46 468.11,360 433.12,229.75 215.79,171.52 88.57,298.59 123.55,428.84 36.61,405.55 1.63,275.3 192.47,84.68 496.74,166.21z" StrokeThickness="0" Stretch="Fill" Height="344.16" Width="530.09" Canvas.Top="84.68" Canvas.Left="1.63">
                <Path.Fill>
                  <SolidColorBrush Color="{DynamicResource Color.001}"/>
                </Path.Fill>
              </Path>
              <Path Data="F1M314.38,238.23L227.45,214.93 132.03,310.24 213.65,614.15 474.45,684.04 569.87,588.73 546.55,501.9 451.13,597.2 277.27,550.62 218.97,333.54 314.38,238.23z" StrokeThickness="0" Stretch="Fill" Height="469.11" Width="437.84" Canvas.Top="214.93" Canvas.Left="132.03">
                <Path.Fill>
                  <SolidColorBrush Color="{DynamicResource Color.001}"/>
                </Path.Fill>
              </Path>
            </Canvas>
          </Grid>
        </Viewbox>
        <Grid x:Name="ScreenTitle" Grid.Row="1">
          <Grid.ColumnDefinitions>
            <ColumnDefinition Width="64"/>
            <ColumnDefinition Width="1*"/>
          </Grid.ColumnDefinitions>
          <Grid x:Name="LeftAnchor" VerticalAlignment="Center" Height="24">
            <Grid.Background>
              <SolidColorBrush Color="{DynamicResource Color.001}"/>
            </Grid.Background>
          </Grid>
          <TextBlock Text="°MAIN.MENU" TextWrapping="Wrap" FontSize="56" FontFamily="Assets/Typography/#Pacha" Grid.Column="1" Margin="24,0,0,0">
            <TextBlock.Foreground>
              <SolidColorBrush Color="{DynamicResource Color.001}"/>
            </TextBlock.Foreground>
          </TextBlock>
        </Grid>
        <Grid x:Name="Menu" Grid.Row="2">
          <Grid.ColumnDefinitions>
            <ColumnDefinition Width="64"/>
            <ColumnDefinition Width="4"/>
            <ColumnDefinition Width="4"/>
            <ColumnDefinition Width="428*"/>
          </Grid.ColumnDefinitions>
          <Grid x:Name="Menu_VerticalLine" Grid.Column="2" HorizontalAlignment="Center" Width="4">
            <Grid.Background>
              <SolidColorBrush Color="{DynamicResource Color.001}"/>
            </Grid.Background>
          </Grid>
          <StackPanel x:Name="MenuStack" Grid.ColumnSpan="3" Grid.Column="1" VerticalAlignment="Center">
            <Button Content="STORY"/>
            <Button Content="ONLINE"/>
            <Button Content="ARMOURY"/>
            <Button Content="SETTINGS"/>
            <Button Content="RETIRE"/>
          </StackPanel>
        </Grid>
      </Grid>
    </Grid><Grid x:Name="Foreground" IsHitTestVisible="False" d:IsLocked="True">
      <Grid.Background>
        <ImageBrush ImageSource="Assets/Bitmap_BackgroundForegrounds/Bitmaps_Foreground_Overlay.png"/>
      </Grid.Background>
    </Grid>
  </Grid>
</Page>
MainMenu.xaml (5,634 bytes)   
PlatformAny

Activities

Issue History

Date Modified Username Field Change
2024-01-02 18:45 dstewart New Issue
2024-01-02 18:45 dstewart File Added: ColourSwatchCrash_2.mp4
2024-01-02 18:45 dstewart File Added: MainMenu.xaml
2024-01-02 18:52 dstewart Description Updated
2024-01-02 18:52 dstewart Steps to Reproduce Updated
2024-01-02 18:55 dstewart Steps to Reproduce Updated
2024-01-03 11:53 dstewart Priority normal => high
2024-01-03 11:53 dstewart Reproducibility random => always
2024-01-03 11:53 dstewart Description Updated
2024-01-03 11:53 dstewart Steps to Reproduce Updated
2024-01-04 14:30 jsantos Assigned To => sfernandez
2024-01-04 14:30 jsantos Status new => assigned
2024-01-04 14:31 jsantos Target Version => Studio_Alpha
2024-02-27 22:55 dfranjic Assigned To sfernandez => dfranjic
2024-03-04 13:12 sfernandez Assigned To dfranjic => sfernandez
2024-03-04 13:12 sfernandez Status assigned => resolved
2024-03-04 13:12 sfernandez Resolution open => fixed
2024-03-04 13:12 sfernandez Fixed in Version => Studio_Alpha