Completed
Last Updated: 17 Dec 2019 15:36 by ADMIN
Release R1 2020
Petr
Created on: 10 Dec 2019 18:19
Category: Dock
Type: Bug Report
0
RadDock: Demo application crashes inconsistently after reordering the document tabs

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.

 

 

6 comments
ADMIN
Dess | Tech Support Engineer, Sr.
Posted on: 12 Dec 2019 07:55

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

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Petr
Posted on: 11 Dec 2019 17:46

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

 

Petr
Posted on: 11 Dec 2019 17:41

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
  mscorlib.dll!System.Drawing.Point?.Value.get() Unknown
> Telerik.WinControls.UI.dll!Telerik.WinControls.UI.RadPageViewInDockDragDropService.Telerik.WinControls.IMessageListener.PreviewMessage(ref System.Windows.Forms.Message msg) Line 55 C#
  TelerikCommon.dll!Telerik.WinControls.RadMessageFilter.NotifyGetMessageEvent(ref System.Windows.Forms.Message msg) Line 377 C#
  TelerikCommon.dll!Telerik.WinControls.RadMessageFilter.GetMessageHookProc(int code, System.IntPtr wParam, System.IntPtr lParam) Line 319 C#

 

ADMIN
Dess | Tech Support Engineer, Sr.
Posted on: 11 Dec 2019 14:37

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

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Attached Files:
Petr
Posted on: 11 Dec 2019 10:53

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

 

Attached Files:
ADMIN
Dess | Tech Support Engineer, Sr.
Posted on: 11 Dec 2019 07:08

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.

Once we replicate the issue locally, we can make an adequate analysis of the precise case and assist you further. Thank you in advance.

I am looking forward to your reply.

 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Attached Files: