View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001287 | NoesisGUI | C++ SDK | public | 2018-04-10 11:02 | 2022-11-16 16:37 |
Reporter | hcpizzi | Assigned To | sfernandez | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 2.1.0f1 | ||||
Target Version | 3.1.6 | Fixed in Version | 3.1.6 | ||
Summary | 0001287: Circular dependency produces memory leaks | ||||
Description | Attached xaml demonstrates the problem. The ToolTip binding to an ancestor is the source of the problem, without that binding there is no memory leak. | ||||
Tags | No tags attached. | ||||
Platform | Any | ||||
related to | 0001338 | resolved | sfernandez | cyclic reference when using child user control with DataContext binding on the Parent Control |
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. |
|
Solved in changeset r11723 | |
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 |