View Issue Details

IDProjectCategoryView StatusLast Update
0001287NoesisGUIC++ SDKpublic2022-11-16 16:37
Reporterhcpizzi Assigned Tosfernandez  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.1.0f1 
Target Version3.1.6Fixed in Version3.1.6 
Summary0001287: Circular dependency produces memory leaks
DescriptionAttached xaml demonstrates the problem. The ToolTip binding to an ancestor is the source of the problem, without that binding there is no memory leak.
TagsNo tags attached.
PlatformAny

Relationships

related to 0001338 resolvedsfernandez cyclic reference when using child user control with DataContext binding on the Parent Control 

Activities

hcpizzi

hcpizzi

2018-04-10 11:02

developer  

sfernandez

sfernandez

2018-11-23 19:31

manager   ~0005343

Last edited: 2022-06-27 14:01

The solution is:
- When an element gets Unloaded from the UI tree, detect properties with a binding expression and reset all the values stored in the DP.
- Once element is added to the UI tree again (Loaded), then evaluate those expressions again to restore the effective value.

When property is not using bindings, at least we should show a warning indicating the possible memory leaks and what property is causing it.
sfernandez

sfernandez

2022-11-16 16:37

manager   ~0008159

Solved in changeset r11723

Issue History

Date Modified Username Field Change
2018-04-10 11:02 hcpizzi New Issue
2018-04-10 11:02 hcpizzi File Added: CircularDependency.xaml
2018-11-22 09:36 sfernandez Assigned To => sfernandez
2018-11-22 09:36 sfernandez Status new => assigned
2018-11-22 10:00 sfernandez Relationship added related to 0001338
2018-11-23 19:31 sfernandez Note Added: 0005343
2021-06-03 11:34 sfernandez Target Version => 3.1
2021-06-03 11:34 sfernandez View Status private => public
2021-06-03 11:34 sfernandez Summary Dependencia circular causa memory leaks => Circular dependency produces memory leaks
2021-06-03 11:34 sfernandez Description Updated
2021-06-03 11:34 sfernandez Platform => Any
2021-06-03 11:36 sfernandez Note Edited: 0005343
2022-06-27 13:54 sfernandez Target Version 3.1 => 3.1.6
2022-06-27 14:01 sfernandez Note Edited: 0005343
2022-11-07 17:13 sfernandez Target Version 3.1.6 => 3.1.7
2022-11-07 17:21 sfernandez Target Version 3.1.7 => 3.1.6
2022-11-16 16:37 sfernandez Status assigned => resolved
2022-11-16 16:37 sfernandez Resolution open => fixed
2022-11-16 16:37 sfernandez Fixed in Version => 3.1.6
2022-11-16 16:37 sfernandez Note Added: 0008159