View Issue Details

IDProjectCategoryView StatusLast Update
0001472NoesisGUIC++ SDKpublic2020-03-12 17:31
ReporterstevehAssigned Tosfernandez 
Status assignedResolutionopen 
Product Version2.2.0 
Target VersionFixed 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.

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.




2019-05-21 11:34

reporter (8,224 bytes)


2020-03-12 17:31

reporter   ~0006141

Hi guys, I've just been looking through the changelogs and I actually think this was fixed in 2.2.4. I think this bug is a dupe of 0001529

Issue History

Date Modified Username Field Change
2019-05-21 11:34 steveh New Issue
2019-05-21 11:34 steveh File Added:
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
2020-03-12 17:31 steveh Note Added: 0006141