View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001968 | NoesisGUI | Unreal | public | 2021-04-13 14:35 | 2021-04-15 12:52 |
| Reporter | sergey_sitnikov_ninjatheory | Assigned To | sfernandez | ||
| Priority | normal | Severity | crash | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.0.10 | ||||
| Target Version | 3.0.12 | Fixed in Version | 3.0.12 | ||
| Summary | 0001968: Crash in Noesis.dll on XamlView->SetSize when using ScrollViewer with the name PART_ContentHost in TextBox template | ||||
| Description | Hello guys, I found out that UE4 crashes in UNoesisInstance::Update trying to call XamlView->SetSize(Width, Height) when XAML uses TextBox template with a ScrollViewer that has a name PART_ContentHost. Cheers, | ||||
| Steps To Reproduce |
<Style x:Key="TextBox_Test" TargetType="{x:Type TextBox}">
<TextBox Style="{StaticResource TextBox_Test}" Text="HELLO"/>
| ||||
| Attached Files | |||||
| Platform | Any | ||||
|
Hi Sergey, I'm not able to reproduce the crash with 3.0.10 plugin, it reimports fine. Could you please collect a minidump of the crash so we can see where is coming from? |
|
|
Hi Sergio, I have prepared a simple xaml that crashes 100% for me on 3.0.10. I have attached both xaml and a crash mini-dump. Gym_Text.xaml (956 bytes)
<ContentControl
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
d:DesignHeight="1080" d:DesignWidth="1920"
Width="Auto" Height="Auto">
<ContentControl.Resources>
<Style x:Key="TextBox_Test" TargetType="{x:Type TextBox}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type TextBox}">
<ScrollViewer x:Name="PART_ContentHost" Focusable="false" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden"/>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ContentControl.Resources>
<Grid>
<TextBox Style="{StaticResource TextBox_Test}" Text="HELLO"/>
</Grid>
</ContentControl>
|
|
|
Thanks for the dump, it helped me figure out what was happening and I'm now able to reproduce it. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-04-13 14:35 | sergey_sitnikov_ninjatheory | New Issue | |
| 2021-04-13 14:35 | sergey_sitnikov_ninjatheory | Status | new => assigned |
| 2021-04-13 14:35 | sergey_sitnikov_ninjatheory | Assigned To | => hcpizzi |
| 2021-04-13 14:35 | sergey_sitnikov_ninjatheory | Tag Attached: C++ | |
| 2021-04-13 14:35 | sergey_sitnikov_ninjatheory | Tag Attached: TextBox | |
| 2021-04-13 14:35 | sergey_sitnikov_ninjatheory | Tag Attached: UE4 | |
| 2021-04-13 14:35 | sergey_sitnikov_ninjatheory | Tag Attached: xaml | |
| 2021-04-13 14:36 | jsantos | Target Version | => 3.0.12 |
| 2021-04-14 10:50 | jsantos | Assigned To | hcpizzi => sfernandez |
| 2021-04-14 20:14 | sfernandez | Status | assigned => feedback |
| 2021-04-14 20:14 | sfernandez | Note Added: 0007148 | |
| 2021-04-15 11:39 | sergey_sitnikov_ninjatheory | File Added: UE4Minidump.dmp | |
| 2021-04-15 11:39 | sergey_sitnikov_ninjatheory | File Added: Gym_Text.xaml | |
| 2021-04-15 11:39 | sergey_sitnikov_ninjatheory | Note Added: 0007149 | |
| 2021-04-15 11:39 | sergey_sitnikov_ninjatheory | Status | feedback => assigned |
| 2021-04-15 12:36 | sfernandez | Note Added: 0007150 | |
| 2021-04-15 12:52 | sfernandez | Status | assigned => resolved |
| 2021-04-15 12:52 | sfernandez | Resolution | open => fixed |
| 2021-04-15 12:52 | sfernandez | Fixed in Version | => 3.0.12 |