-
-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drag&Drop on a touch device #418
Comments
I experience the same issue. |
Hey @punker76, I really love your work and I know that you are doing all this on a voluntary base. But I have to ask if you had any chance to look a this issue or if you see any chance for the upcoming future? |
@KKauK I have maybe the chance in the next weeks to test this with a physical touch device. |
@punker76 That sounds great;-). Just drop me a note if you need more information / support. |
This reverts commit 387cb0e.
Add touch support inspired by punker76#418
Trying to drag an item on a touch screen causes the mouse pointer to freeze for seconds and follow up the fingeer at random intervals. Please see the attached video sequence where the blue rectangle shows the current behaviour while the red rectangle shows the desired way.
The same operations show no problems if only the mouse pointer is used.
DragAndDrop.mp4
The problem seems to be caused by the SetWindowsHookEx in MouseHelper.cs
Attached is a fix for the problem based on the current sources. The fix uses a System.Windows.Threading.DispatcherTimer instead of the hook and can be activated by setting a new "MouseMoveTimerTriggered" attached property.
Please have a look a the modifications. It would be great if you could add them to you project.
I really apprechiate your work!!
DraDropTouch.zip
The text was updated successfully, but these errors were encountered: