View Issue Details

IDProjectCategoryView StatusLast Update
0003034NoesisGUIStudiopublic2024-01-26 01:12
Reporterdstewart Assigned Todfranjic  
PrioritynormalSeveritycrash 
Status resolvedResolutionfixed 
Product VersionStudio_Alpha 
Target VersionStudio_Alpha 
Summary0003034: Studio Crashes when Naming Two Layers the Same
Description

Noesis Studio crashes when two layers are named identically.

Image of occurence, and Dump attached.

Steps To Reproduce

Repro Steps:

1) Create 2 layers in the layer hierarchy
2) Double-click on one of the layers, and give it a new name.
3) Double-click on the second other layer, and give it the exact same name.

Observe how a warning is thrown about not being able to register a Duplicate name, followed by an application crash.

Expected Results:
Either:
A) Studio throws a warning about not being able to support duplicate layer names, before reverting the conflicting layer name to it's original name.
B) Studio automatically renames the conflicting layer name to [layername]_1 (and continues to index up as each new duplicate is created).

Attached Files
20240123_083214.xaml (2,233 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="Blue">#FF02003D</Color>
      <Color x:Key="Green">#FF91BC39</Color>
      <Color x:Key="White">#FFBFBFBF</Color>
    </ResourceDictionary>
  </Page.Resources>
  <Grid x:Name="Master">
    <Grid x:Name="Background" d:IsLocked="True">
      <Grid.Background>
        <ImageBrush ImageSource="Assets/Bitmap_BackgroundForegrounds/Bitmaps_Background_Scene.png" Stretch="UniformToFill"/>
      </Grid.Background>
    </Grid>
    <Grid x:Name="Interface">
      <Grid.RowDefinitions>
        <RowDefinition Height="64"/>
        <RowDefinition Height="Auto"/>
        <RowDefinition Height="1*"/>
        <RowDefinition Height="64"/>
      </Grid.RowDefinitions>
      <Grid.ColumnDefinitions>
        <ColumnDefinition Width="64"/>
        <ColumnDefinition Width="1*"/>
        <ColumnDefinition Width="1*"/>
        <ColumnDefinition Width="1*"/>
        <ColumnDefinition Width="64"/>
      </Grid.ColumnDefinitions>
      <Grid x:Name="HeaderBar" Grid.RowSpan="4" Grid.ColumnSpan="5" Height="16" VerticalAlignment="Top">
        <Grid.Background>
          <SolidColorBrush Color="{DynamicResource Blue}" Opacity="0.19999999"/>
        </Grid.Background>
      </Grid>
      <Grid x:Name="HeaderBar" Grid.RowSpan="4" Grid.ColumnSpan="5"/>
      <Grid x:Name="ScreenTitle" Grid.ColumnSpan="2" Grid.Row="1" Grid.Column="1">
        <TextBlock Text="°main.menu" TextWrapping="Wrap" FontFamily="Assets/Typography/#Pacha" FontSize="56">
          <TextBlock.Foreground>
            <SolidColorBrush Color="{DynamicResource Blue}"/>
          </TextBlock.Foreground>
        </TextBlock>
      </Grid>
    </Grid>
    <Grid x:Name="Foreground" d:IsLocked="True">
      <Grid.Background>
        <ImageBrush ImageSource="Assets/Bitmap_BackgroundForegrounds/Bitmaps_Foreground_Overlay.png"/>
      </Grid.Background>
    </Grid>
  </Grid>
</Page>
20240123_083214.xaml (2,233 bytes)   
20240123_083218.dmp (116,807 bytes)
DupeNameCrash.jpg (294,289 bytes)   
DupeNameCrash.jpg (294,289 bytes)   
PlatformAny

Activities

dfranjic

dfranjic

2024-01-26 01:12

developer   ~0009126

A toast will now be shown to notify the user that it's not possible to rename an object to the wanted name.

Issue History

Date Modified Username Field Change
2024-01-23 14:45 dstewart New Issue
2024-01-23 14:45 dstewart File Added: 20240123_083214.xaml
2024-01-23 14:45 dstewart File Added: 20240123_083218.dmp
2024-01-23 14:45 dstewart File Added: DupeNameCrash.jpg
2024-01-23 16:29 dfranjic Assigned To => dfranjic
2024-01-23 16:29 dfranjic Status new => assigned
2024-01-24 10:43 jsantos Target Version => Studio_Alpha
2024-01-26 01:12 dfranjic Status assigned => resolved
2024-01-26 01:12 dfranjic Resolution open => fixed
2024-01-26 01:12 dfranjic Note Added: 0009126