View Issue Details

IDProjectCategoryView StatusLast Update
0001472NoesisGUIC++ SDKpublic2019-06-04 10:35
ReporterstevehAssigned Tosfernandez 
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version2.2.0 
Target Version2.3.0Fixed in Version 
Summary0001472: Soft lock when measuring a list box with a content presenter sharing content with another item
DescriptionHi guys,

When I was filling out a list box with some dummy data I ended up getting a soft lock when measuring the visual tree. I ended up tracking it down to re-parenting a list box. The item template had a content presenter and I was sharing a common control between different items in the listbox (in my case a vector path). During measuring, the visual parent pointer is reassigned from nullptr to the new parent when measuring the first item. When it gets to the second item, it tries to reparent the parent of the content but it's already been re-parented. I've created a quick sample to reproduce this.

I have a workaround for this so it's not a big issue at all. It may be that we can't fix this, but it'd be nice to trigger an assert just to avoid having to debug this in the future. Much appreciated, cheers.

-Steven
Steps To Reproduce1. Create a list box.
2. Override the item template, use a content presenter.
3. Bind the list box to a source which uses a shared control.
4. Re-parent the list box to another element in the hierarchy.
5. This should soft lock during the next measure.
TagsNo tags attached.
PlatformWindows

Activities

steveh

steveh

2019-05-21 11:34

reporter  

MeasureSoftLock.zip (8,224 bytes)

Issue History

Date Modified Username Field Change
2019-05-21 11:34 steveh New Issue
2019-05-21 11:34 steveh File Added: MeasureSoftLock.zip
2019-05-21 13:06 sfernandez Assigned To => sfernandez
2019-05-21 13:06 sfernandez Status new => assigned
2019-06-04 10:35 sfernandez Target Version => 2.3.0
2019-06-04 10:35 sfernandez Description Updated View Revisions
2019-06-04 10:35 sfernandez Steps to Reproduce Updated View Revisions