Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.0.2
-
None
-
Win 7 x64, MSVC2010
-
e865df80a907ceb3354a3369f9467022f451d692
Description
(See attached project for sample project)
If dynamically creating pages (similar to PageStack) and manually reparenting them, application will crash if the created page contains a Canvas element. It appears to be the getContext call in the onPaint handler that is the root source. The crash occurs sometime after popping a page off a stack and reparenting the previous page. If the getContext call is commented out (and subsequently the rest of the onPaint handler body) the crash does not occur and the application behaves as expected.