Dragging out from ToolWindow critical bug

9 posts, 0 answers
  1. Mar
    Mar avatar
    7 posts
    Member since:
    Mar 2015

    Posted 08 May 2015 Link to this post

    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!!!

  2. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 11 May 2015 Link to this post

    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.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Mar
    Mar avatar
    7 posts
    Member since:
    Mar 2015

    Posted 11 May 2015 in reply to Kalin Link to this post

    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...


  5. Mar
    Mar avatar
    7 posts
    Member since:
    Mar 2015

    Posted 12 May 2015 in reply to Kalin Link to this post

    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.

  6. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 13 May 2015 Link to this post

    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
  7. Buzz
    Buzz avatar
    32 posts
    Member since:
    Oct 2010

    Posted 29 Jun 2015 in reply to Kalin Link to this post

    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.

  8. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 01 Jul 2015 Link to this post

    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
  9. Buzz
    Buzz avatar
    32 posts
    Member since:
    Oct 2010

    Posted 01 Jul 2015 in reply to Kalin Link to this post

    I actually ended up back at the original problem from this thread.

    My code and a video are here: google drive
  10. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 02 Jul 2015 Link to this post

    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
Back to Top
UI for WPF is Visual Studio 2017 Ready