This is a migrated thread and some comments may be shown as answers.

Dragging out from ToolWindow critical bug

8 Answers 77 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Mar
Top achievements
Rank 1
Mar asked on 08 May 2015, 04:53 PM

Hi,

I'm working with two monitors/screens, and I found out a critical bug.
Steps to reproduce:

1. Run application with RadDocking control which contains 3 panes. Place the app in the screen #1.
2. Drag out one pane and drop it in screen #2.
3. Drag out another pane and drop it into the the first pane we already dragged out (So they will share equal space). In other words, drop it into the new ToolWindow from step 2.
4. Now, from this ToolWindow whice contains 2 panes, drag out the right pane.

Expected: The mouse cursor holds a new ToolWindow which created for the dragged-out pane, and its state is WindowState == Normal.
Actual Result: New ToolWindow is created, but instead of appearing under the mouse cursor, it appears in the first screen, while its height is something very short like 50, and its width is as the width of the first screen. If you leave the mouse button (DragEnd event) and try to drag this short-height ToolWindow in the direction of the second screen, you'll see that it starts to get wider until you reach the the edge of the second screen with the cursor and then it stops to get wider. 

Note: My screens showing my desktop in the mode of "Extend".

Please help to work-around this bug...
Big Thanks!!!

8 Answers, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 11 May 2015, 07:17 AM
Hello Mar,

I tested the described scenario with the latest release version of the controls (2015.1 401) and was not able to observe the issue. Can you confirm which version are you using and let us know if you both displays have the same resolution? If you can share a sample video that would help us to reproduce the issue on our side.

I'm looking forward to hearing from you.

Regards,
Kalin
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Mar
Top achievements
Rank 1
answered on 11 May 2015, 03:40 PM

I missed a step in my steps to reproduce. You need to maximize the first ToolWindow, and then it reproduced.

So it goes like that:
1. Run application with RadDocking control which contains 3 panes. Place the app in the screen #1.  
2. Drag out one pane and drop it in screen #2.

3. Maximize the ToolWindow you just created.

4. Drag out another pane and drop it into the the first pane we already dragged out (So they will share equal space). In other words, drop it into the new ToolWindow from step 2.
5. Now, from this ToolWindow whice contains 2 panes, drag out the right pane.

You can reproduce that here:
https://github.com/telerik/xaml-sdk/tree/master/
In "Docking" folder you got example project which called "RestoreFocusOnStateChanged".
The dlls in the example are old, but I'm working with DLLs of Q1 2015 and it still happens...


0
Mar
Top achievements
Rank 1
answered on 12 May 2015, 05:14 PM

One more thing.

I've noticed that when the ToolWindow that placed in the 2nd screen is created by those three line:

RadDocking.SetFloatingLocation(pane, new Point(targetScreen.WorkingArea.Left + 0.1, targetScreen.WorkingArea.Top));
RadDocking.SetFloatingSize(pane, new Size(targetScreen.WorkingArea.Width - 0.1, targetScreen.WorkingArea.Height));
pane.MakeFloatingDockable();

Now the bug isn't happening.
After this code runs and create the first ToolWindow, I dock a pane to this ToolWindow, and then undock it  - Now, the undocked pane in its new ToolWindow gets the floating size we set in the above code snippet.

0
Kalin
Telerik team
answered on 13 May 2015, 07:30 AM
Hi Mar,

Actually the explained issue has been fixed with the Q1 2015 release version - you can see the Feedback item here.

Hope this helps.

Regards,
Kalin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Buzz
Top achievements
Rank 1
answered on 29 Jun 2015, 04:08 PM

I'm using 2014_3_1202 and I have the above problem.

I tried the 2015_5_263 current trial, and while I don't see the same problem, but there is a new problem.
The problem now is that the pane dragged in the final step (5) instantly becomes maximized and isn't being dragged anymore.
I have to go and pick it back up and drag again.

Please help!  I have a delivery in a week or so that requires docking to work well with two monitors.

0
Kalin
Telerik team
answered on 01 Jul 2015, 08:15 AM
Hi Buzz,

Can you please share a sample code and a video of the exact issue you are facing as I was not able to reproduce using the descriptions from the previous posts?

I'm looking forward to hearing from you.

Regards,
Kalin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Buzz
Top achievements
Rank 1
answered on 01 Jul 2015, 04:58 PM
I actually ended up back at the original problem from this thread.

My code and a video are here: google drive
0
Kalin
Telerik team
answered on 02 Jul 2015, 10:11 AM
Hello Buzz,

Thanks for the video and the project - I managed to reproduce the issue. It appears it is still present for that scenario. So I have reopened the Feedback where you can track the status of the issue.

I apologize for the inconvenience - I have updated your Telerik points for your involvement.

Regards,
Kalin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Docking
Asked by
Mar
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Mar
Top achievements
Rank 1
Buzz
Top achievements
Rank 1
Share this question
or