Dragging Offset

9 posts, 0 answers
  1. James
    James avatar
    22 posts
    Member since:
    Mar 2013

    Posted 14 Jan 2015 Link to this post

    Hi,

    I'm trying to add a RadDocking control to my project. However I've noticed when I try to drag a pane from a tabbed position to another position the pane isn't under the mouse. So when I want to snap to the side or whatever I have to guess the point of reference as dragging my mouse over the compass has no effect.

    I've attached a screenshot that shows the mouse position whilst dragging. The docking example I'm testing is from the SDK samples. If I stop dragging an reselect the window everything works as expected.

    Thanks for any help.
  2. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 15 Jan 2015 Link to this post

    Hi James,

    We are aware of this issue and it has already been logged in our Feedback portal. The issue appears when the DPI of the OS is higher than 100%, so in order to avoid you can set the DPI to 100%. You can find the item on the following link:
    http://feedback.telerik.com/Project/143/Feedback/Details/125861-moving-a-toolwindow-when-the-dpi-of-the-os-is-higher-then-100-causes-incorrect-o

    I apologize for any inconvenience caused.

    Regards,
    Kalin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Paul
    Paul avatar
    4 posts
    Member since:
    Nov 2014

    Posted 02 Mar 2015 in reply to Kalin Link to this post

    I see a cursor offset when dragging a docked window to a new location. I have to stop dragging, then drag again to have the correct cursor location. I think this is the same bug. Do you have a sample of code to fix this?
  5. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 04 Mar 2015 Link to this post

    Hi Paul,

    This is most probably the same issue. However I'm afraid the only work around we can suggest would be to set the DPI to 100%.

    I apologize for any inconvenience caused. If you have any other questions, let us know.

    Regards,
    Kalin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  6. Paul
    Paul avatar
    4 posts
    Member since:
    Nov 2014

    Posted 04 Mar 2015 in reply to Kalin Link to this post

    Sample code to set the DPI to 100% would be appreciated.
  7. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 05 Mar 2015 Link to this post

    Hi Paul,

    This should be done through the settings of the Windows OS - you need to go into the Display Settings from the Control Panel. Please check the attached screenshot.

    Regards,
    Kalin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  8. James
    James avatar
    22 posts
    Member since:
    Mar 2013

    Posted 05 Mar 2015 Link to this post

    Paul, 

    I couldn't resolve my issue with the telerik docking control. However I did find a good alternative in AvalonDock:
    https://avalondock.codeplex.com/

    It supports an MVVM pattern and it doesn't have any dragging bugs.
  9. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 05 Mar 2015 Link to this post

    Hello James,

    I'm sorry to hear that. However I wanted to let you know that we are deeply investigating the issue at the moment and will give our best to fix it as soon as possible. So please follow the Feedback item and stay tuned.

    Hope this helps.

    Regards,
    Kalin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  10. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 13 Mar 2015 Link to this post

    Hi,

    I'm glad to let you guys know that the issue has been resolved. The fix will be available with the internal build next Monday. Can you please download the lib, test it and let us know if everything works as expected now?

    I'm looking forward to your feedback.

    Regards,
    Kalin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
UI for WPF is Visual Studio 2017 Ready