[r123.2] Touch Event Bug AGAIN!

Bugs will be moved here once resolved.

Post » Thu Mar 21, 2013 8:57 pm

Link to .capx file (required!):
https://dl.dropbox.com/u/30381754/Touch%20Test%20Application.capx

Steps to reproduce:
1. Run the Layout or Export the project as a HTML5 website.
2. Release from Touch, and the red square

Observed result:


This screenshot was after multiple touches of my screen, the screen wasn't in any contact while the screenshot was captured.

Expected result:
A red square should appear at the position of the first touch, and follow the location of the touch until the touch ends, where the red square disappears.

The first touch count returns the value of the TouchCount expression, the second one is a global variable which increments when a new touch is received and de-increments when a touch has ended. Both touch counts should be the same value, increasing by one when a touch is performed and have a value of zero when the screen is not touching.

Browsers affected:
Chrome: yes
Internet Explorer: no

Operating system & service pack: Windows 8 Pro (64-bit)

Construct 2 version: r123.2

I first raised this bug on the version [r122], but the bug still occurs. As of writing it only seems to be effected on Google Chrome, as Internet Explorer, as well as exported versions for CocoonJS and Windows 8 are not effected.gamepopper2013-03-21 20:59:42
B
24
S
5
G
1
Posts: 89
Reputation: 3,015

Post » Fri Mar 22, 2013 4:11 pm

I think this is a bug in Google Chrome, or possibly the driver for your touchscreen. I tried it on an iPad and it worked fine, and as you say yourself it works fine in IE. Construct 2's touch start and end events pretty much map exactly to the touchstart and touchend/touchcancel events, so this implies Chrome isn't firing the events properly. Closing, you might want to take this up with Google.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Sat Mar 23, 2013 2:00 pm

OK will do. Thanks. :)
B
24
S
5
G
1
Posts: 89
Reputation: 3,015


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 8 guests