This project is read-only.

StackOverflow on drag/drop


I was experimenting to see what happens when I drag/drop a node from the task pane, whilst having something selected on the document surface.
If I do the below steps, Word's "Page Setup" dialog popped up multiple times, and eventually, I got a stack overflow in Visual Studio. See attached.
Steps to reproduce:
  1. In Word 2010, create an XML part containing <yourxml>goes here</yourxml>
  2. insert a run level rich text content control (via the Developer tab) - make sure it is a run level one
  3. select its contents, then drag the "yourxml" element (not the text node) - the crash should occur as soon as you start the drag
    At this point you have to kill Word and start again.

file attachments