View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001798 | NoesisGUI | C++ SDK | public | 2020-09-24 08:17 | 2020-10-15 18:45 |
Reporter | satorp | Assigned To | sfernandez | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.0.6 | ||||
Target Version | 3.0.7 | Fixed in Version | 3.0.7 | ||
Summary | 0001798: Memory leak when using ContextMenuService.PlacementTarget | ||||
Description | Specifying context menu placement target to owner element seems to cause memory leak (reported by Noesis memory check and CRT memory leak report). Possibly caused by circular reference? | ||||
Steps To Reproduce | Sample XAML (TextBlock is irrelevant, also reproducible on other elements): <TextBlock x:Name="MyText" ... ContextMenuService.Placement="Center" ContextMenuService.IsEnabled="True" ContextMenuService.PlacementTarget="{Binding ElementName=MyText}"> <TextBlock.ContextMenu>...</TextBlock.ContextMenu> </TextBlock> Display the context menu and close application. | ||||
Tags | No tags attached. | ||||
Platform | Windows | ||||
This issue seems not reproducible in previous versions. Is it specific to Noesis 3.0? | |
It seems this leak was introduced in 3.0.4 version, we'll fix it for next release. Anyway, in this case you don't need to set the PlacementTarget property, because by default a ContextMenu uses its owner as placement target. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2020-09-24 08:17 | satorp | New Issue | |
2020-09-24 16:38 | sfernandez | Relationship added | related to 0001707 |
2020-09-24 16:38 | sfernandez | Assigned To | => sfernandez |
2020-09-24 16:38 | sfernandez | Status | new => assigned |
2020-09-24 16:38 | sfernandez | Target Version | => 3.0 |
2020-10-09 02:36 | satorp | Note Added: 0006660 | |
2020-10-13 19:51 | sfernandez | Target Version | 3.0 => 3.0.7 |
2020-10-13 19:51 | sfernandez | Note Added: 0006662 | |
2020-10-15 18:45 | sfernandez | Status | assigned => resolved |
2020-10-15 18:45 | sfernandez | Resolution | open => fixed |
2020-10-15 18:45 | sfernandez | Fixed in Version | => 3.0.7 |