Hello,
I am using the docking manager and persisting the window state when the application closes (loading it when the application restarts).
Sometimes, we have seen that the window state is corrupted, and we can reproduce the problem in our application by loading the window state from a corrupted computer.
On this particular instance, when we click on the floating window shown in the screenshot attached, we got a null-reference error. I''m including the call stack below.
So, the question is:
1. Any suggestions on where to start debuging?
2. Is there a way to detect a corrupted window state?
Thank you.
Raymond.
Call stack:
at Syncfusion.Windows.Forms.Tools.DockHostController.TransitDockToFloat()
at Syncfusion.Windows.Forms.Tools.DockHostController.ApplyDockInfo()
at Syncfusion.Windows.Forms.Tools.WhidbeyDragProvider.ProcessMouseMove(DockControllerBase controller, IDraggable ctrl, Point ptscreen)
at Syncfusion.Windows.Forms.Tools.DockHostController.HandleMouseMoveImp(MouseButtons button, Point pt)
at Syncfusion.Windows.Forms.Tools.DockHost.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at Syncfusion.Windows.Forms.Tools.DockHost.WndProc(Message& msg)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
screenshot2293.zip