I have a strange bug that I hope someone can reproduce. It only happens when I have my application maximized on an attached monitor. When I attempt to resize a docked pane by dragging the border, the application hangs, waiting for some sort of thread callback...
[In a sleep, wait, or join]
mscorlib.dll!System.Threading.WaitHandle.WaitAny(System.Threading.WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext) + 0x8b bytes
System.Runtime.DurableInstancing.dll!System.Runtime.IOThreadTimer.TimerManager.OnWaitCallback(object state) + 0x2d bytes
System.Runtime.DurableInstancing.dll!System.Runtime.IOThreadScheduler.ScheduledOverlapped.IOCallback(uint errorCode, uint numBytes, System.Threading.NativeOverlapped* nativeOverlapped) + 0x78 bytes
System.Runtime.DurableInstancing.dll!System.Runtime.Fx.IOCompletionThunk.UnhandledExceptionFrame(uint error, uint bytesRead, System.Threading.NativeOverlapped* nativeOverlapped) + 0x39 bytes
mscorlib.dll!System.Threading._IOCompletionCallback.PerformIOCompletionCallback(uint errorCode, uint numBytes, System.Threading.NativeOverlapped* pOVERLAP) + 0x74 bytes
[Native to Managed Transition]
Resizing a docked pane works fine in all other cases, even having the window stretched across multiple monitors.