Touch Input Breaks on Garbage Collection Cycle.

Bugs will be moved here once resolved.

Post » Wed Jul 24, 2013 6:19 am

Link to .capx file (required!):
https://docs.google.com/file/d/0B_4xfuagH96rSl9BckJJM19ZTEk/edit?usp=sharing

Steps to reproduce:
1. Run the Project on a Mobile Device.
2. Drag Construct Logo Around in a Circle.
3. Notice the screen loses the touch input after a few seconds.

Observed result:
Even thought the "Construct2Logo" has the Drag/Drop Behavior, it loses touch and therefore stops dragging after a few seconds...perhaps during every garbage collection cycle.

Expected result:
I expect the behavior to keep working even thought there is a garbage collection running...It should continue to register my touch input on the screen and therefore the object should continue to follow my finger around even if it needs to pause for a second.

Browsers affected:
Chrome: yes/no
Firefox: yes/no
Internet Explorer: yes/no

Operating system & service pack:
Android 4.1.2 (Running on my Galaxy S3).

Construct 2 version:
    Latest Release 139 (64-bit edition).
B
82
S
32
G
7
Posts: 281
Reputation: 10,685

Post » Wed Jul 24, 2013 6:00 pm

Did you only test the Android stock browser? It works fine for me on Firefox for Android, Chrome for Android, and Safari for iOS. I can reproduce it on the stock browser, but it's a really poor browser. It seems to be a browser bug and I don't know if we can work around it, I guess it just randomly fires touch end events.
Scirra Founder
B
397
S
236
G
88
Posts: 24,408
Reputation: 194,486

Post » Wed Jul 24, 2013 11:00 pm

Yes, I was testing it for lowest common denominator to release it for Android first and then for iOS. I figure there are millions of people that have galaxy S3's right now so I should test it on that. And since most people keep their stock browsers is there a smart way to work around this?? I just want it to work for people...that's all. :)
B
82
S
32
G
7
Posts: 281
Reputation: 10,685


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests