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

Dragging Offset

8 Answers 117 Views
Docking
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 14 Jan 2015, 12:22 PM
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.

8 Answers, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 15 Jan 2015, 08:35 AM
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.

 
0
Paul
Top achievements
Rank 1
answered on 02 Mar 2015, 03:51 PM
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?
0
Kalin
Telerik team
answered on 04 Mar 2015, 03:54 PM
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.

 
0
Paul
Top achievements
Rank 1
answered on 04 Mar 2015, 10:31 PM
Sample code to set the DPI to 100% would be appreciated.
0
Kalin
Telerik team
answered on 05 Mar 2015, 08:45 AM
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.

 
0
James
Top achievements
Rank 1
answered on 05 Mar 2015, 10:23 AM
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.
0
Kalin
Telerik team
answered on 05 Mar 2015, 01:32 PM
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.

 
0
Kalin
Telerik team
answered on 13 Mar 2015, 09:28 AM
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.

 
Tags
Docking
Asked by
James
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Paul
Top achievements
Rank 1
James
Top achievements
Rank 1
Share this question
or