[Version 2.0] Layout Opens Documents Which Don't Exist

Oct 31, 2012 at 9:12 AM

I just updated from version 94879 to 96782 and now, when I load an existing layout, it also loads the document panes which where opene when storing this layout. These documents are not listed in my WorkspaceViewModel files collection!

This even happens when these documents are already deleted on harddisk.

How can I load a layout without all these document panes?

Or maybe better, how can I store a layout without these document panes?

You can reproduce this problem with MVVMTestApp sample.

  1. Open a document.
  2. Save the layout.
  3. Close the document.
  4. Delete the document file in explorer.
  5. Load the layout.

Debugger shows that this document is also not listed in the _files collection.

Nov 5, 2012 at 10:44 PM

I think this is a bug. I entered an issue for it.

http://avalondock.codeplex.com/workitem/15758

It would be good if others could increase the vote counter to show how critical this is.