Skip to content

Drag&Drop on a touch device #418

Closed
@KKauK

Description

@KKauK

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions