You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platform: Windows 10 / WindowsForms
.NET version: 4.5.2
Expected behaviour
Zooming and paning should work out of the box.
Actual behaviour
The zoom gesture is stuttering or not working at all. Paning is only available via translated touch gestures to mouse events.
What I have done already
I checked and found that in WindowsForms the Windowsmessages are not intercepted. I made a quick implementation and provided all information of the touch event to the TouchManipulator.
Number 1 is already solved, but the issue with a second touch manipulator, which overrides the first manipulator should be discussed. Mouse events are different with a modifier, where touch gestures aren't. There are a few different solutions to catch touch gestures. One solution is to handle WindowsMultitouch gestures. There are only 5 gestures, i.e. "zoom", "pan", "rotate", "two finger tap" and "press and tap".
The other solution could be to use the RAW touch points like in this example. The second approach needs a little bit more to work, but has more flexibility when it comes to tracking etc.
The text was updated successfully, but these errors were encountered:
IF BUG, INCLUDE THIS PART:
Steps to reproduce
Platform: Windows 10 / WindowsForms
.NET version: 4.5.2
Expected behaviour
Zooming and paning should work out of the box.
Actual behaviour
The zoom gesture is stuttering or not working at all. Paning is only available via translated touch gestures to mouse events.
What I have done already
I checked and found that in WindowsForms the Windowsmessages are not intercepted. I made a quick implementation and provided all information of the touch event to the TouchManipulator.
The TouchManipulator only works when the TouchTrackerManipulator is disabled at PlotController level (also mentioned in Pan and Zoom not working oxyplot-xamarin#62)
Number 1 is already solved, but the issue with a second touch manipulator, which overrides the first manipulator should be discussed. Mouse events are different with a modifier, where touch gestures aren't. There are a few different solutions to catch touch gestures. One solution is to handle WindowsMultitouch gestures. There are only 5 gestures, i.e. "zoom", "pan", "rotate", "two finger tap" and "press and tap".
The other solution could be to use the RAW touch points like in this example. The second approach needs a little bit more to work, but has more flexibility when it comes to tracking etc.
The text was updated successfully, but these errors were encountered: