google-code-export / gwt-test-utils

Automatically exported from code.google.com/p/gwt-test-utils
1 stars 0 forks source link

Event type touchmove not supported #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Write code that contains call to FocusPanel.addTouchMoveHandler()
2. Write test case that calls this code

What is the expected output? 
Test runs

What do you see instead?
Unable to convert DOM Event "touchmove" to an integer

What version of the product are you using? On what operating system?
GWT 2.3.0. gwt-test-utils 0.31, Windows XP

Please provide any additional information below.
Problem is the EventUtils.getEventTypeInt() which does not handle the new touch 
events

Original issue reported on code.google.com by gross.an...@gmail.com on 26 Jul 2011 at 11:34

GoogleCodeExporter commented 9 years ago

Original comment by gael.laz...@gmail.com on 26 Jul 2011 at 12:05

GoogleCodeExporter commented 9 years ago
I just deploy a new 0.32-SNAPSHOT version with support for touch events. Could 
you please give it a try and validate my modifications ?

Since I didn't know about touch events in GWT, I was wondering who touch events 
are triggered in a running GWT app. Is there any sequence like : 
1. trigger touchStart
2. trigger touchMove
3 trigger touchEnd or touchCancel

? 

If so, I guess some Browser.touch(widget, boolean cancelTouch), which would 
trigger start - move - end/cancel might be usefull ?

Original comment by gael.laz...@gmail.com on 27 Jul 2011 at 5:27

GoogleCodeExporter commented 9 years ago

Original comment by gael.laz...@gmail.com on 19 Sep 2011 at 10:56