View Issue Details

IDProjectCategoryView StatusLast Update
0003823NoesisGUIUnitypublic2026-04-27 12:17
Reportersfernandez Assigned Tosfernandez  
PrioritynormalSeverityminor 
Status assignedResolutionopen 
Product Version3.2.5 
Target Version3.2.14 
Summary0003823: Stack overflow using a ConditionBehavior within StyleTriggerCollection
Description

Current BehaviorCollection code in C# is trying to clone the collection itself and set it on the property changed callback, entering into a call loop that leads to a stack overflow:

<Style TargetType="ListBoxItem" BasedOn="{StaticResource Editor.Style.ListBoxItem}">
<Setter Property="noesis:StyleInteraction.Triggers">
<Setter.Value>
<noesis:StyleTriggerCollection>
<b:EventTrigger EventName="PreviewMouseLeftButtonUp">
<b:Interaction.Behaviors>
<b:ConditionBehavior>
<b:ConditionalExpression>
<b:ComparisonCondition LeftOperand="{Binding IsSelected, RelativeSource={RelativeSource AncestorType=ListBoxItem}}" RightOperand="True"/>
</b:ConditionalExpression>
</b:ConditionBehavior>
</b:Interaction.Behaviors>
<b:InvokeCommandAction Command="{Binding CreateResourceCommand}" CommandParameter="{Binding}"/>
</b:EventTrigger>
</noesis:StyleTriggerCollection>
</Setter.Value>
</Setter>
</Style>

PlatformAny

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-11-25 16:13 sfernandez New Issue
2024-11-25 16:13 sfernandez Assigned To => sfernandez
2024-11-25 16:13 sfernandez Status new => assigned
2024-11-25 16:13 sfernandez Target Version => 3.2.7
2025-01-20 17:42 jsantos Target Version 3.2.7 => 3.2.8
2025-06-06 12:52 jsantos Target Version 3.2.8 => 3.2.9
2025-10-02 00:48 jsantos Target Version 3.2.9 => 3.2.10
2025-10-10 13:29 jsantos Category Unity3D => Unity
2025-10-20 18:25 jsantos Target Version 3.2.10 => 3.2.11
2026-01-20 19:32 jsantos Target Version 3.2.11 => 3.2.12
2026-03-04 00:39 jsantos Target Version 3.2.12 => 3.2.13
2026-04-27 12:17 jsantos Target Version 3.2.13 => 3.2.14