Hello,
when drag and dropping documents in Dock layout, after some operations application crashes. Crash can be reproduce even in Dock sample from Telerik (Visual Studio Demo). Drag and drop documents into middle area, let them create more pages in one tab and then drag and drop pages to change their order. After several order changes application crashes to windows.
Hello, Petr,
The provided screenshot with the exact place in the source code is greatly appreciated. We will further investigate whether the suggested solution is the most suitable approach for handling the undesired behavior.
I have logged it in our feedback portal by making this thread public. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.
I have also updated your Telerik points.
We will do our best to introduce a fix in the upcoming latest internal builds.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
It looks like changing to simple
if (this.beginPoint.HasValue && mousePos != this.beginPoint.Value)
should fix the problem. Same solution is used in RadDragDropService.cs
Hello Dess,
I am attaching screenshot of the crash in VS plus some additional data which can help.
Best!
Petr
this.beginPoint is null
mscorlib.dll!System.ThrowHelper.ThrowInvalidOperationException(System.ExceptionResource resource) Unknown
Hello, Petr,
Thank you for providing the video. Following the provided information, I have tried to replicate the issue on my end but without any success. Please refer to the attached gif file for your reference.
Since it would be difficult to determine what causes the issue on your end without replicating the issue locally, in order to further investigate the precise case, I would recommend you to download the source code from your Telerik account and run the Demo application from the source code solution, not the installation. Thus, I believe that you can provide the exact error message and the stack trace that occurs on your end. Then, we can have a look at the RadDock's internal implementation and further investigate what can go wrong in this case. Thank you in advance for your cooperation.
I am looking forward to your reply.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Hello Dess,
I attached video with recorded crash. I took me around 1 minute in sample application, but in our company tool it takes usually about 10 secs.
Hopefully you can reproduce then.
Petr
Hello, Petr,
Following the provided information, I was unable to reproduce the issue you are facing. Please refer to the attached gif file illustrating the behavior on my end with the latest version. Am I missing something? Could you please specify the exact steps how to reproduce the problem ? A sample video illustrating the exact steps how to replicate the exception would be greatly appreciated.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik