microsoft / Windows-universal-samples

API samples for the Universal Windows Platform.
MIT License
9.49k stars 7.98k forks source link

Commanding (XamlCommanding) project, scenario 8 locks test application #1191

Open SlowPokeInTexas opened 4 years ago

SlowPokeInTexas commented 4 years ago

I'm running Windows 10, 2004 19613.1000, reproducible in VS2017 and VS2019. Loading the last scenario, listed as "Command Reflow", freezes the application. Seems to be in some kind of increasing memory loop; I set and hit a break-point in the Scenario8 constructor but it goes off into the weeds after that.

Edit: Seems to never make it out of the DynamicCommandBar.MeasureOverride source.

SlowPokeInTexas commented 4 years ago

My earlier comment is incorrect. The problem is not that program never leaves DynamicCommand.MeasureOverride. The problem is that it gets called repeatedly to infinity. I shut down my process at 2GB.