[r154] Open URL problem with Chrome & "Wait"

Bugs will be moved here once resolved.

Post » Sun Dec 15, 2013 7:55 pm

Link to .capx file (required!):
https://dl.dropboxusercontent.com/u/26714455/ChromePopup.capx

Steps to reproduce:

Observed result:
I have just tried to add a "Wait" before opening a link in a new browser window and noticed that Chrome opens a popupwindow without buttons (only url bar) when a Wait command is executed right before it.
When I disable the Wait command it opens a normal browser window as expected.

Expected result:
Open a new browser window with all buttons, not just a small popup without default browser bars.

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

Operating system & service pack:
Windows 7 SP1 64 Bit

Construct 2 version:
r154
Bl4ckSh33p2013-12-15 20:02:47
Bl4ckSh33p-Soft - Custom Software and Indie Games
B
58
S
18
G
6
Posts: 756
Reputation: 9,591

Post » Mon Dec 16, 2013 8:56 am

I noticed that you hear the sound file playing the first time without wait, but every other time you click on the sprite the sound is not played until you switch browser tabs and get focus back to the game.
Bl4ckSh33p-Soft - Custom Software and Indie Games
B
58
S
18
G
6
Posts: 756
Reputation: 9,591

Post » Tue Dec 17, 2013 2:41 pm

Closing as won't fix. Browsers are really fussy about opening new windows - they want to stop sites spamming you with popup ads. As already shown the treatment is also browser-specific. If you open a window in a user input event, the browser considers it a legitimate link. However if you wait, then the window is opened "automatically" (outside a user input event) and is suspicious (it could be a spammy ad popup), so it either gets completely blocked or for some reason in this case is just treated differently. You should expect some browsers to simply block it completely, so you should not use 'Wait'.Ashley2013-12-17 14:41:39
Scirra Founder
B
402
S
238
G
89
Posts: 24,644
Reputation: 196,095


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests