View Issue Details

IDProjectCategoryView StatusLast Update
0002454NoesisGUIUnity3Dpublic2022-11-09 16:26
Reporterstonstad Assigned Tosfernandez  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Product Version3.1.5 
Summary0002454: XAML Graphics Corruption
DescriptionThe following XAML icons are replaced with... render target output? See the "Reactor" icon in the top left. The icon is missing and instead it shows a grayscale view of the current render target. The same thing appears under "Device Bays" and it flickers. I am passing a render target texture to a rectangle underneath this XAML layer.

It seems like it could be related to sorting, or the use of a render target texture within a XAML control. I believe I picked up this behavior in 3.1.5.
TagsNo tags attached.
PlatformAny

Relationships

related to 0002453 resolvedsfernandez DragEventArgs_GetAllowedEffectsHelper Crash 

Activities

stonstad

stonstad

2022-11-05 21:35

reporter  

image.png (1,698,380 bytes)
stonstad

stonstad

2022-11-06 20:53

reporter   ~0008114

Just following up on this behavior. 3.1.5 is essentially unusable for me due to the frequency of crashes. It would seem I can't do much anything UI related without a crash containing DragEventArgs_GetAllowedEffectsHelper in the call stack.


0x00007FF9A419DE2B (d3d11) EnableFeatureLevelUpgrade
0x00007FF9A41BBF8A (d3d11) D3D11CreateDeviceAndSwapChain
0x00007FF9A419EB86 (d3d11) EnableFeatureLevelUpgrade
0x00007FF9A419FBCC (d3d11) EnableFeatureLevelUpgrade
0x00007FF9A41A05FE (d3d11) EnableFeatureLevelUpgrade
0x00007FF9A41A0D64 (d3d11) EnableFeatureLevelUpgrade
0x00007FF9A418E4ED (d3d11) EnableFeatureLevelUpgrade
0x00007FF9A41AC429 (d3d11) EnableFeatureLevelUpgrade
0x00007FF9A41AC3D2 (d3d11) EnableFeatureLevelUpgrade
0x00007FF8923D2EA8 (Noesis) DragEventArgs_GetAllowedEffectsHelper
0x00007FF8923D307B (Noesis) DragEventArgs_GetAllowedEffectsHelper
0x00007FF892353C44 (Noesis) Noesis_RenderDeviceD3D12_WrapTexture
0x00007FF892352B45 (Noesis) Noesis_RegisterLogCallback
0x00007FF8921B289C (Noesis) NullableSize_GetStaticType
0x00007FF8923BA053 (Noesis) Noesis_RenderDeviceGL_WrapTexture
0x00007FF8923BA1DE (Noesis) Noesis_RenderDeviceGL_WrapTexture
0x00007FF89211EF68 (Noesis) Uri_GetStaticType
0x00007FF89220E394 (Noesis) MultiBindingExpression_UpdateSource
0x00007FF89220CAA8 (Noesis) MultiBindingExpression_UpdateSource
0x00007FF89235148F (Noesis) Noesis_RegisterLogCallback
0x00007FF7305EA72A (Unity) GfxDeviceWorker::RunCommand
0x00007FF7305F183D (Unity) GfxDeviceWorker::RunExt
0x00007FF7305F1958 (Unity) GfxDeviceWorker::RunGfxDeviceWorker
0x00007FF72EC82FC7 (Unity) Thread::RunThreadWrapper
0x00007FF9A997244D (KERNEL32) BaseThreadInitThunk
0x00007FF9AABCDFB8 (ntdll) RtlUserThreadStart
crash.dmp (3,856,521 bytes)
stonstad

stonstad

2022-11-07 15:38

reporter   ~0008118

Here is the associated XAML.
ShipScreen.xaml (25,058 bytes)   
<UserControl
    x:Class="StellarConquest.Presentation.Unity.UI.ShipScreen"
    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:local="clr-namespace:StellarConquest.Presentation.Unity.UI"
    d:DesignWidth="1280" d:DesignHeight="720">
    <Grid x:Name="_LayoutRoot">
        <Grid Style="{StaticResource Screen}">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="20"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="*"/>
                <RowDefinition Height="Auto" MinHeight="200"/>
            </Grid.RowDefinitions>

            <Grid Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3">
                <HeaderedContentControl Style="{StaticResource HeaderedContentStyle}" HeaderTemplate="{StaticResource HeaderContentControlDataTemplate}">
                    <HeaderedContentControl.Header>
                        <Grid HorizontalAlignment="Stretch">
                            <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
                                <TextBlock Style="{StaticResource Heading2Primary}" Text="Starship" Margin="0, 0, 10, 0"/>
                                <TextBlock x:Name="_ShipNameTextBlock" Style="{StaticResource Heading2Secondary}" FontStyle="Italic" Text="(Starship Name)" Margin="0, 0, 10, 0"/>
                            </StackPanel>
                            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0, 0, 50, 0">

                                <TextBlock x:Name="_ShipTypeTextBlock" Style="{StaticResource Heading4Secondary}" Margin="0, 0, 20, 0">Ship Type</TextBlock>

                                <StackPanel Orientation="Horizontal" Margin="0, 0, 20, 0">
                                    <TextBlock x:Name="_ShipHoldsTextBlock" Style="{StaticResource Heading4Secondary}">0 Holds</TextBlock>
                                </StackPanel>
                                <StackPanel Orientation="Horizontal" Margin="0, 0, 20, 0">
                                    <TextBlock x:Name="_DeviceBaysTextBlock" Style="{StaticResource Heading4Secondary}">0 Device Bays</TextBlock>
                                </StackPanel>
                                <StackPanel Orientation="Horizontal" Margin="0, 0, 0, 0">
                                    <TextBlock x:Name="_HardpointsTextBlock" Style="{StaticResource Heading4Secondary}">0 Hard Points</TextBlock>
                                </StackPanel>
                            </StackPanel>
                        </Grid>
                    </HeaderedContentControl.Header>

                    <local:RenderControl x:Name="_RenderControl" Width="2048" Height="1024" VerticalAlignment="Center" HorizontalAlignment="Center">
                        <local:RenderControl.LayoutTransform>
                            <ScaleTransform ScaleX="0.75" ScaleY="0.75"/>
                        </local:RenderControl.LayoutTransform>
                    </local:RenderControl>

                </HeaderedContentControl>

                <!-- Lines -->
                <!--<Canvas>
                    <Path Stroke="#FFFFFFFF" Margin="140, 100, 0, 0" StrokeThickness="1" Data="M0,0 L0,100 L250,100 L250, 200" />
                    <Path Stroke="#FFFFFFFF" Margin="468, 100, 0, 0" StrokeThickness="1" Data="M0,0 L0,200" />
                    <Path Stroke="#FFFFFFFF" Margin="825, 100, 0, 0" StrokeThickness="1" Data="M0,0 L0,200" />
                    <Path Stroke="#FFFFFFFF" Margin="1180, 100, 0, 0" StrokeThickness="1" Data="M0,0 L0,200" />
                </Canvas>-->

                <!-- ship indicators -->
                <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0, 66, 0, 0">
                    <!-- reactor -->
                    <Grid Margin="0, 0, 25, 0">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto"/>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="Auto"/>
                        </Grid.ColumnDefinitions>

                        <Grid x:Name="_ReactorGrid" Grid.Row="0" Grid.Column="0" Margin="0, 0, 10, 0"/>

                        <Grid Grid.Row="0" Grid.Column="1" VerticalAlignment="Center">
                            <TextBlock x:Name="_ReactorLabelTextBlock" Style="{StaticResource Heading4Primary}" Margin="0,-21, 0, 0">Reactor</TextBlock>
                            <Grid Margin="0, 0, 0, 0">
                                <ProgressBar x:Name="_ReactorProgressBar" Height="30" Width="200" Value="100" Maximum="100"/>
                                <TextBlock x:Name="_ReactorPowerUnits" Style="{StaticResource Heading5Secondary}" Foreground="WhiteSmoke" HorizontalAlignment="Center" VerticalAlignment="Center" Text="100/100"/>
                            </Grid>
                        </Grid>
                    </Grid>

                    <!-- propulsion -->
                    <ContentControl Margin="0, 0, 25, 0" IsFocusEngagementEnabled="True">
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"/>
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="Auto"/>
                            </Grid.ColumnDefinitions>

                            <Grid x:Name="_PropulsionGrid" Grid.Row="0" Grid.Column="0" Margin="0, 0, 10, 0"/>

                            <StackPanel Grid.Row="0" Grid.Column="1" Orientation="Vertical" Margin="0, 0, 10, 0" VerticalAlignment="Center">
                                <Button x:Name="_PropulsionUpButton"  Margin="0, 0, 0, 8">
                                    <Path Height="15" Stretch="Uniform" Fill="#FFFFFFFF" Data="F1 M 78.1398,324.18L 52.5865,298.626C 51.6892,297.728 50.3385,297.459 49.1678,297.946C 47.9971,298.43 47.2305,299.574 47.2305,300.843L 60.6385,326.398L 47.2305,351.952C 47.2305,353.223 47.9971,354.364 49.1678,354.848C 49.5558,355.011 49.9638,355.09 50.3678,355.09C 51.1838,355.09 51.9852,354.77 52.5865,354.171L 78.1398,328.616C 78.7238,328.032 79.0598,327.224 79.0598,326.398C 79.0598,325.572 78.7238,324.764 78.1398,324.18 Z ">
                                        <Path.RenderTransform>
                                            <TransformGroup>
                                                <RotateTransform Angle="270" />
                                                <TranslateTransform X="-3" Y="12"/>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                </Button>
                                <Button x:Name="_PropulsionDownButton">
                                    <Path Height="15" Stretch="Uniform" Fill="#FFFFFFFF" Data="F1 M 78.1398,324.18L 52.5865,298.626C 51.6892,297.728 50.3385,297.459 49.1678,297.946C 47.9971,298.43 47.2305,299.574 47.2305,300.843L 60.6385,326.398L 47.2305,351.952C 47.2305,353.223 47.9971,354.364 49.1678,354.848C 49.5558,355.011 49.9638,355.09 50.3678,355.09C 51.1838,355.09 51.9852,354.77 52.5865,354.171L 78.1398,328.616C 78.7238,328.032 79.0598,327.224 79.0598,326.398C 79.0598,325.572 78.7238,324.764 78.1398,324.18 Z ">
                                        <Path.RenderTransform>
                                            <TransformGroup>
                                                <RotateTransform Angle="90" />
                                                <TranslateTransform X="10" Y="4"/>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                </Button>
                            </StackPanel>

                            <Grid Grid.Row="0" Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Right">
                                <ProgressBar x:Name="_PropulsionProgressBar" Height="30" Width="200" Value="100" Maximum="100"/>
                                <TextBlock x:Name="_PropulsionLabelTextBlock" Style="{StaticResource Heading4Primary}" Margin="0,-21, 0, 0">Propulsion</TextBlock>
                                <TextBlock x:Name="_PropulsionUnits" Style="{StaticResource Heading5Secondary}" Foreground="WhiteSmoke" HorizontalAlignment="Center" VerticalAlignment="Center" Text="100/100"/>
                                <StackPanel Orientation="Horizontal" Margin="0, 0, 0, -19" HorizontalAlignment="Right">
                                    <TextBlock x:Name="_PropulsionStatus" Style="{StaticResource ShipIndicatorStyle}" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0, 0, 5, 0" Text="TOP SPEED"/>
                                    <TextBlock x:Name="_PropulsionStatusSpeed" Style="{StaticResource ShipIndicatorStyle}" Foreground="White" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0, 0, 5, 0" Text="0"/>
                                </StackPanel>
                            </Grid>
                        </Grid>
                    </ContentControl>

                    <!-- shields -->
                    <ContentControl Margin="0, 0, 25, 0" IsFocusEngagementEnabled="True">
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"/>
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="Auto"/>
                            </Grid.ColumnDefinitions>

                            <Grid x:Name="_ShieldGrid" Grid.Row="0" Grid.Column="0" Margin="0, 0, 10, 0"/>

                            <StackPanel Grid.Row="0" Grid.Column="1" Orientation="Vertical" Margin="0, 0, 10, 0" VerticalAlignment="Center">
                                <Button x:Name="_ShieldUpButton"  Margin="0, 0, 0, 8">
                                    <Path Height="15" Stretch="Uniform" Fill="#FFFFFFFF" Data="F1 M 78.1398,324.18L 52.5865,298.626C 51.6892,297.728 50.3385,297.459 49.1678,297.946C 47.9971,298.43 47.2305,299.574 47.2305,300.843L 60.6385,326.398L 47.2305,351.952C 47.2305,353.223 47.9971,354.364 49.1678,354.848C 49.5558,355.011 49.9638,355.09 50.3678,355.09C 51.1838,355.09 51.9852,354.77 52.5865,354.171L 78.1398,328.616C 78.7238,328.032 79.0598,327.224 79.0598,326.398C 79.0598,325.572 78.7238,324.764 78.1398,324.18 Z ">
                                        <Path.RenderTransform>
                                            <TransformGroup>
                                                <RotateTransform Angle="270" />
                                                <TranslateTransform X="-3" Y="12"/>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                </Button>

                                <Button x:Name="_ShieldDownButton">
                                    <Path Height="15" Stretch="Uniform"  Fill="#FFFFFFFF" Data="F1 M 78.1398,324.18L 52.5865,298.626C 51.6892,297.728 50.3385,297.459 49.1678,297.946C 47.9971,298.43 47.2305,299.574 47.2305,300.843L 60.6385,326.398L 47.2305,351.952C 47.2305,353.223 47.9971,354.364 49.1678,354.848C 49.5558,355.011 49.9638,355.09 50.3678,355.09C 51.1838,355.09 51.9852,354.77 52.5865,354.171L 78.1398,328.616C 78.7238,328.032 79.0598,327.224 79.0598,326.398C 79.0598,325.572 78.7238,324.764 78.1398,324.18 Z ">
                                        <Path.RenderTransform>
                                            <TransformGroup>
                                                <RotateTransform Angle="90" />
                                                <TranslateTransform X="10" Y="4"/>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                </Button>
                            </StackPanel>

                            <Grid Grid.Row="0" Grid.Column="2" VerticalAlignment="Center">
                                <ProgressBar x:Name="_ShieldProgressBar" Height="30" Width="200" Value="100" Maximum="100"/>
                                <TextBlock x:Name="_ShieldLabelTextBlock" Style="{StaticResource Heading4Primary}" Margin="0,-21, 0, 0">Shield Power</TextBlock>
                                <TextBlock x:Name="_ShieldUnits" Style="{StaticResource Heading5Secondary}" Foreground="WhiteSmoke" HorizontalAlignment="Center" VerticalAlignment="Center" Text="100/100"/>
                                <TextBlock x:Name="_ShieldStatus" Style="{StaticResource ShipIndicatorStyle}" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0, 0, 0, -19" Text="RAISING SHIELDS"/>
                            </Grid>

                        </Grid>
                    </ContentControl>

                    <!-- tactical -->
                    <ContentControl IsFocusEngagementEnabled="True">
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"/>
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="Auto"/>
                            </Grid.ColumnDefinitions>

                            <Grid x:Name="_TacticalGrid" Grid.Row="0" Grid.Column="0" Margin="0, 0, 10, 0"/>

                            <StackPanel Grid.Row="0" Grid.Column="1" Orientation="Vertical" Margin="0, 0, 10, 0" VerticalAlignment="Center">
                                <Button x:Name="_TacticalUpButton"  Margin="0, 0, 0, 8">
                                    <Path Height="15" Stretch="Uniform"  Fill="#FFFFFFFF" Data="F1 M 78.1398,324.18L 52.5865,298.626C 51.6892,297.728 50.3385,297.459 49.1678,297.946C 47.9971,298.43 47.2305,299.574 47.2305,300.843L 60.6385,326.398L 47.2305,351.952C 47.2305,353.223 47.9971,354.364 49.1678,354.848C 49.5558,355.011 49.9638,355.09 50.3678,355.09C 51.1838,355.09 51.9852,354.77 52.5865,354.171L 78.1398,328.616C 78.7238,328.032 79.0598,327.224 79.0598,326.398C 79.0598,325.572 78.7238,324.764 78.1398,324.18 Z ">
                                        <Path.RenderTransform>
                                            <TransformGroup>
                                                <RotateTransform Angle="270" />
                                                <TranslateTransform X="-3" Y="12"/>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                </Button>
                                <Button x:Name="_TacticalDownButton">
                                    <Path Height="15" Stretch="Uniform"  Fill="#FFFFFFFF" Data="F1 M 78.1398,324.18L 52.5865,298.626C 51.6892,297.728 50.3385,297.459 49.1678,297.946C 47.9971,298.43 47.2305,299.574 47.2305,300.843L 60.6385,326.398L 47.2305,351.952C 47.2305,353.223 47.9971,354.364 49.1678,354.848C 49.5558,355.011 49.9638,355.09 50.3678,355.09C 51.1838,355.09 51.9852,354.77 52.5865,354.171L 78.1398,328.616C 78.7238,328.032 79.0598,327.224 79.0598,326.398C 79.0598,325.572 78.7238,324.764 78.1398,324.18 Z ">
                                        <Path.RenderTransform>
                                            <TransformGroup>
                                                <RotateTransform Angle="90" />
                                                <TranslateTransform X="10" Y="4"/>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                </Button>
                            </StackPanel>

                            <Grid Grid.Row="0" Grid.Column="2" VerticalAlignment="Center">
                                <ProgressBar x:Name="_TacticalProgressBar" Height="30" Width="200" Value="100" Maximum="100"/>
                                <TextBlock x:Name="_TacticalLabelTextBlock" Style="{StaticResource Heading4Primary}" Margin="0,-21, 0, 0">Shield Power</TextBlock>
                                <TextBlock x:Name="_TacticalUnits" Style="{StaticResource Heading5Secondary}" Foreground="WhiteSmoke" HorizontalAlignment="Center" VerticalAlignment="Center" Text="100/100"/>
                                <TextBlock x:Name="_TacticalStatus" Style="{StaticResource ShipIndicatorStyle}" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0, 0, 0, -19" Text="POWERING WEAPONS"/>
                            </Grid>

                        </Grid>
                    </ContentControl>
                </StackPanel>


                <!-- armor -->
                <Grid HorizontalAlignment="Left" VerticalAlignment="Center" Margin="35, 0, 0, 35">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="Auto"/>
                    </Grid.ColumnDefinitions>

                    <Grid x:Name="_ArmorGrid" Grid.Row="0" Grid.Column="0" Margin="0, 0, 10, 0"/>

                    <StackPanel Grid.Row="0" Grid.Column="1" VerticalAlignment="Center">
                        <TextBlock Style="{StaticResource Heading4Primary}">Hull</TextBlock>
                        <Grid Margin="0, 0, 0, 0">
                            <ProgressBar x:Name="_ArmorProgressBar" Height="30" Width="200" Value="100" Maximum="100"/>
                            <TextBlock x:Name="_ArmorUnits" Style="{StaticResource Heading5Secondary}" Foreground="WhiteSmoke" HorizontalAlignment="Center" VerticalAlignment="Center" Text="100/100"/>
                        </Grid>
                    </StackPanel>
                </Grid>

                <!-- hardpoints and devices -->
                <Grid HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0, 0, 0, 35">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="100"/>
                        <ColumnDefinition Width="Auto"/>
                    </Grid.ColumnDefinitions>

                    <!-- Ship Device Bays -->
                    <ContentControl Grid.Column="0" HorizontalAlignment="Right" IsFocusEngagementEnabled="False">
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition/>
                                <RowDefinition/>
                            </Grid.RowDefinitions>
                            <Grid Margin="0, 0, 0, 3">
                                <Rectangle Fill="{StaticResource DividerGradientBrush}" Height="1" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="-15, 0, -15, 1"/>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Style="{StaticResource Heading4Primary}" Text="Device Bays"/>
                                    <TextBlock x:Name="_DeviceBaysCount" Style="{StaticResource Heading4Secondary}" Margin="4, 0, 0, 0" Text="(0)"/>
                                </StackPanel>
                            </Grid>
                            <ScrollViewer Grid.Row="1" Margin="1" HorizontalAlignment="Right" ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Disabled">
                                <WrapPanel x:Name="_DeviceBaysWrapPanel" Orientation="Horizontal"/>
                            </ScrollViewer>
                        </Grid>
                    </ContentControl>

                    <!-- Weapon Hardpoints -->
                    <ContentControl Grid.Column="2" HorizontalAlignment="Left" IsFocusEngagementEnabled="False">
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition/>
                                <RowDefinition/>
                            </Grid.RowDefinitions>
                            <Grid Margin="0, 0, 0, 3">
                                <Rectangle Fill="{StaticResource DividerGradientBrush}" Height="1" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="-15, 0, -15, 1"/>
                                <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
                                    <TextBlock Style="{StaticResource Heading4Primary}" Text="Weapon Hard Points"/>
                                    <TextBlock x:Name="_HardpointsCount" Style="{StaticResource Heading4Secondary}" Margin="4, 0, 0, 0" Text="(0)"/>
                                </StackPanel>
                            </Grid>
                            <ScrollViewer Grid.Row="1" Margin="1" HorizontalAlignment="Left" ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Disabled">
                                <WrapPanel x:Name="_HardpointsWrapPanel" Orientation="Horizontal"/>
                            </ScrollViewer>
                        </Grid>
                    </ContentControl>
                </Grid>
            </Grid>

            <!-- device inventory -->
            <HeaderedContentControl Grid.Row="1" Grid.Column="0" Style="{StaticResource HeaderedContentStyle}" HeaderTemplate="{StaticResource HeaderContentControlDataTemplate}" IsFocusEngagementEnabled="True">
                <HeaderedContentControl.Header>
                    <StackPanel Grid.Row="0" Orientation="Horizontal">
                        <TextBlock Style="{StaticResource Heading4Primary}" Text="Devices"/>
                        <TextBlock x:Name="_DeviceInventoryCount" Style="{StaticResource Heading4Secondary}" Margin="4, 0, 0, 0" Text="(0)"/>
                    </StackPanel>
                </HeaderedContentControl.Header>
                <ScrollViewer Grid.Row="1" Margin="1" ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Disabled" MaxHeight="256" >
                    <WrapPanel x:Name="_DeviceInventoryWrapPanel" Orientation="Horizontal" ItemHeight="128" ItemWidth="128"/>
                </ScrollViewer>
            </HeaderedContentControl>

            <!-- weapon inventory -->
            <HeaderedContentControl Grid.Row="1" Grid.Column="2" Style="{StaticResource HeaderedContentStyle}" HeaderTemplate="{StaticResource HeaderContentControlDataTemplate}" IsFocusEngagementEnabled="True">
                <HeaderedContentControl.Header>
                    <StackPanel Grid.Row="0" Orientation="Horizontal">
                        <TextBlock Style="{StaticResource Heading4Primary}" Text="Weapons"/>
                        <TextBlock x:Name="_WeaponInventoryCount" Style="{StaticResource Heading4Secondary}" Margin="4, 0, 0, 0" Text="(0)"/>
                    </StackPanel>
                </HeaderedContentControl.Header>
                <ScrollViewer Grid.Row="1" Margin="1" ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Disabled" MaxHeight="256">
                    <WrapPanel x:Name="_WeaponInventoryWrapPanel" Margin="1" Orientation="Horizontal" ItemHeight="128" ItemWidth="128"/>
                </ScrollViewer>
            </HeaderedContentControl>

        </Grid>
    </Grid>
</UserControl>
ShipScreen.xaml (25,058 bytes)   
stonstad

stonstad

2022-11-08 21:10

reporter   ~0008148

OK to close. Thank you!

Issue History

Date Modified Username Field Change
2022-11-05 21:35 stonstad New Issue
2022-11-05 21:35 stonstad File Added: image.png
2022-11-06 20:53 stonstad Note Added: 0008114
2022-11-06 20:53 stonstad File Added: crash.dmp
2022-11-07 15:37 jsantos Relationship added related to 0002453
2022-11-07 15:37 jsantos Assigned To => sfernandez
2022-11-07 15:37 jsantos Status new => assigned
2022-11-07 15:38 stonstad Note Added: 0008118
2022-11-07 15:38 stonstad File Added: ShipScreen.xaml
2022-11-08 21:10 stonstad Note Added: 0008148
2022-11-09 16:26 jsantos Status assigned => resolved
2022-11-09 16:26 jsantos Resolution open => no change required