In Crosswalk, r200 <Touch> object generate trigger twice

Bugs will be moved here once resolved.

Post » Wed Mar 18, 2015 4:02 pm

Problem Description
In Crosswalk(XDK 1826), r200 <Touch> object generate trigger twice when <Use mouse input> is ON

Attach a Capx
capx attached.

Description of Capx
For each touch starts, generate a letter "T" on screen.

Steps to Reproduce Bug
  • export using Cordova.
  • import in XDK.
  • test in emulate tab.

Observed Result
In emulate tab, each touch produces two "T"s.

Expected Result
In emulate tab, each touch should produces just one "T".

Affected Browsers
Crosswalk

Operating System and Service Pack
Not OS dependent.

Construct 2 Version ID
r200
You do not have the required permissions to view the files attached to this post.
B
67
S
13
G
4
Posts: 187
Reputation: 7,120

Post » Mon Mar 30, 2015 1:28 pm

Closing as won't fix: this happens on some platforms because it fires both a touch event and a mouse event for compatibility reasons, so the event is firing twice because C2 really is receiving both a touch event and a mouse event and you've told it to listen for both. The workaround is just to disable "use mouse input" on the Touch object.
Scirra Founder
B
373
S
218
G
84
Posts: 23,444
Reputation: 186,078


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests