View Issue Details

IDProjectCategoryView StatusLast Update
0002419NoesisGUIUnrealpublic2022-09-13 13:14
Reportersfernandez Assigned Tosfernandez  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.1.5 
Target Version3.1.6Fixed in Version3.1.6 
Summary0002419: Crash reloading xaml using the same name in a template Grid and outer Grid elements
DescriptionWhen the same name is used in the template root element and an outer element of the same type, reloading the xaml will crash Unreal.
Steps To Reproduce
<Grid
  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"
  Height="450" Width="800">

  <Viewbox HorizontalAlignment="Right" VerticalAlignment="Bottom">
      <Grid x:Name="RootGrid" Width="800" Height="450" Background="WhiteSmoke">
          <StackPanel>
            <StackPanel.Resources>
              <ControlTemplate x:Key="btnTemplate" TargetType="Button">
                <Grid x:Name="RootGrid" Background="Cyan">
                  <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
                </Grid>
              </ControlTemplate>
              <Style TargetType="Button">
                <Setter Property="Template" Value="{StaticResource btnTemplate}"/>
              </Style>
            </StackPanel.Resources>
            <Button Width="200" Height="100" Content="Button A"/>
            <Button Width="200" Height="100" Content="Button B" Margin="0,10"/>
          </StackPanel>
      </Grid>
  </Viewbox>
</Grid>
TagsNo tags attached.
PlatformAny

Activities

sfernandez

sfernandez

2022-09-13 13:14

manager   ~0008067

Fixed in r11601.

Issue History

Date Modified Username Field Change
2022-09-13 12:57 sfernandez New Issue
2022-09-13 13:12 sfernandez Assigned To => sfernandez
2022-09-13 13:12 sfernandez Status new => assigned
2022-09-13 13:12 sfernandez Target Version => 3.1.6
2022-09-13 13:14 sfernandez Status assigned => resolved
2022-09-13 13:14 sfernandez Resolution open => fixed
2022-09-13 13:14 sfernandez Fixed in Version => 3.1.6
2022-09-13 13:14 sfernandez Note Added: 0008067