This project is read-only.

Crash when re-docking a window that possesses one or more floating windows.

Dec 8, 2010 at 10:38 AM
Dear All,

I've come across a crash that, I'm sure other people will have seen. It concerns version 1.3.3585 of AvalonDock with a Visual Studio 2010 WPF application. Please see issue 12640, where a sample VS2010 project is attached

If you run the project you will see two windows 1 and 2 within a top level docking manager. Window 1 itself has two further sub windows 3 and 4.

If you float window 1 off so that it is detached from the main window. Then float Window 3 from Window 1 so that it is detached from Window 1. If you then re-dock Window 1 (leaving window 3 floating) to the main window you get the following error:

"Cannot set Visibility or call Show, ShowDialog, or WindowInteropHelper.EnsureHandle after a Window has closed."

Can anyone possibly help with this? Any chance of a fix?

Best wishes,