Let's get chrome to fix the Keyboard/Mouse bug!

Bugs will be moved here once resolved.

Post » Fri Feb 10, 2012 12:07 am

Hi all,

At last, some progress! I took the time to write up a full bug reproduction with minimal code at http://www.scirra.com/labs/chromebug/. That should really help Google engineers figure out what's going wrong, since picking through the entire runtime would be really tough for them.

While making the bug repro from scratch, I actually found a workaround - it seems the way you handle mouse events affects the delay in keyboard input! Anyway, I made a tweak to the Mouse object to include this workaround. You can try it here:
http://dl.dropbox.com/u/15217362/newmouseruntime.zip
Just paste the runtime.js over your <install path>\exporters\html5\plugins\mouse\runtime.js. For me, this fixes the keyboard-input-delay bug. However, since the stuck-keys bug is so sporadic and rare, it's hard for me to tell if it's fixed that too. So could you lot try out the patch and see if you can get the stuck keys bug to come back? If everyone tries for a while and nobody can bring it back, it may also be fixed... but it will be hard to tell unless loads of people test it and we can be sure it's gone.

I think even without the workaround it's a legit bug in Chrome, so it's still useful to have it reported and hopefully fixed regardless.Ashley2012-02-10 00:09:35
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Fri Feb 10, 2012 12:22 am

Oh... My... Goodness...
@Ashley, it looks like you fixed it...
...
...
...
...
Thank you. Thank you all for your support! Google chrome hasn't fixed it yet on their end but I'm sure they will soon, thanks to Ashley's help.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Fri Feb 10, 2012 12:26 am

Ashley to the rescue! Brilliant work, mate, absolutely brilliant...

And thanks to you too sqiddster, who knows when this would've gotten fixed if not for your campaign to make it happen?
B
20
S
9
G
6
Posts: 607
Reputation: 6,112

Post » Fri Feb 10, 2012 12:32 am

Heh, don't forget we still need to have lots of people testing to make sure the stuck-keys bug is gone too, I can't be certain myself that that one is fixed!
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Fri Feb 10, 2012 12:40 am

I did test it comprehensively, and I have become quite the expert at incurring the bug ;). I am 99.9 percent sure it is fixed.

@SullyTheStrange, my campaign is not entirely selfless... I am quite desperate to release my first game, is all ;)
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Fri Feb 10, 2012 1:32 am

It works here too! Thanks Ashley! :D
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Fri Feb 10, 2012 5:18 am

Nice work Ashley . Also thanks to Sqiddster for bringing this to everyones attention.
B
31
S
6
G
7
Posts: 140
Reputation: 5,983

Post » Fri Feb 10, 2012 10:30 pm

[quote]Everyone - I've had a one-off mail from Google about the issue so they are paying attention, and I have found a workaround so it should no longer affect C2 games from r79+. It still looks like a legit bug in Chrome/WebKit though so the report is still useful, and may affect other HTML5 game devs since the workaround isn't really intuitive.[/quote]

Posted by Ashley in the chromium bug report (link in the first post).
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Fri Feb 10, 2012 10:36 pm

I think we got a winner here! I've just spent the last 45mins playing the living f*ck out my project, and I can now safely blame the reasoning for dying so much at my own game is because i totally suck at it, rather than the keys getting stuck again :)!

Thanks, great work Ashley!!!
B
37
S
9
G
5
Posts: 147
Reputation: 5,615

Post » Sat Feb 11, 2012 2:09 am

Heh I think it may have been fixed in Chrome 18 beta anyway since I can't repro it there, but... got there in the end anyway...!
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

PreviousNext

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 5 guests