Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UWP ListView/GridView DragItems results to Catastrophic Failure

Tags:

We are developing an UWP App that needs the ability to drag items from one GridView to another. While testing this functionality we encountered multiple catastrophic failures 0x80000FFFF.

Screenshot of catastrophic failure

After almost 2 days of research we were not able to find a solution for our problem. We found out that these failures happen, when there's an ItemTemplate set for the GridView the item is dragged from.

Even trying out the official drag-drop sample provided by Microsoft “XamlDragAndDrop”,(https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/XamlDragAndDrop), when you drag the items in Scenario1 from the source ListView to the target ListView (~30-50) times, you will encounter the failure as well.

Has someone else encountered this problem before? We would be super grateful for any advice!

Our developing machines run Windows 10 Enterprise, Version 1803, OS build 17134.285.

Opened an issue on the official GitHub repo. https://github.com/Microsoft/Windows-universal-samples/issues/977

I recorded a small video of the sample crashing. https://1drv.ms/v/s!AiZ-jksNqbXLi9kZPPfSeGmQr_YeHg

We managed the get the native trace here. Native trace

When running in release mode its crashing earlier, and also when the redraw function is turned on in the display heatmap section.

like image 804
Tim Landskron Avatar asked Sep 14 '18 13:09

Tim Landskron


1 Answers

According to the Raymond Chen this is a plataform specific problem which was solved in the Windows 10 May 2019 update.

So the solution is: update your version of the windows to the latest. Find out here how you can update it.

Windows 10 May 2019 (What's new)

Windows 10 May 2019 changelog

like image 138
Bruno Avatar answered Sep 23 '22 13:09

Bruno