New issue
Advanced search Search tips

Issue 711252 link

Starred by 10 users

Issue metadata

Status: Duplicate
Merged: issue 736289
Owner: ----
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Gamepad API does not work in popup window

Reported by a...@scirra.com, Apr 13 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

Steps to reproduce the problem:
1. Plug in a gamepad and visit https://www.scirra.com/labs/gamepaddemo/ and verify the gamepad is recognised
2. Visit https://editor.construct.net
3. In the search field (under the Construct 3 logo), type "gamepad"
4. Double-click the "gamepad control" demo that is listed
5. Click the "Play" button in the toolbar at the top, and approve any popup window prompts
6. Try to use gamepad input in the popup window

What is the expected behavior?
Gamepad API to work.

What went wrong?
Gamepad API does not work. The demo remains on "no gamepad detected".

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 57.0.2987.133  Channel: stable
OS Version: 10.0
Flash Version: 

It appears the gamepad API only works if the full tabbed browser UI is showing. This breaks gamepad mode in Construct 3's game preview.

It actually works again if the page is in an iframe in a popup - if you click the "debug" button next to "preview" in Construct 3, it shows the game in an iframe and gamepad input works again. So actually it's only top-level frames in popup windows that don't work.

This may be related to bug 699199.
 

Comment 1 by a...@scirra.com, May 24 2017

Users are still running in to this, e.g.: https://github.com/Scirra/Construct-3-bugs/issues/345

This issue is still appearing as "unconfirmed", can someone please look in to it?

Comment 2 by a...@scirra.com, Jun 8 2017

More users still running in to this: https://github.com/Scirra/Construct-3-bugs/issues/462

Has anybody from the Chrome team looked at this?
Cc: pnangunoori@chromium.org
Labels: Needs-Feedback
Tested on latest Chrome stable  #59.0.3071.115 & Canary #61.0.3154.0 and unable to reproduce the issue on Windows 10. Attached is the screencast for the reference.

@ash -- Could you please try by updating Chrome and by removing the extensions and creating a new profile to verify if the issue still persists.

Please let us know if we have missed anything.

Thanks in advance.

711252.webm
6.7 MB View Download

Comment 4 by scheib@chromium.org, Sep 12 2017

Mergedinto: 736289
Status: Duplicate (was: Unconfirmed)
Sorry for needing to re-file as  issue 736289 .  Closing this as duplicate as we are working on it there.

Sign in to add a comment