Node-webkit crashes on browser close command

Bugs will be moved here once resolved.

Post » Thu Feb 21, 2013 9:24 am

Link to .capx file (required!):
https://dl.dropbox.com/u/14522925/C2%20examples/buggy%20node-webkit.capx

Steps to reproduce:
1. Create a sprite or text object, plus browser, plus mouse object.
2. Create an event that, when clicking on the sprite or text, do browser-close action.
3. Export to Node-Webkit.
4. Run the application on Windows 8 and click the object.

Observed result:
The application crashes in Windows 8 when you click on the sprite or text object.

Expected result:
Application simply closes (as it does in Windows 7).

Browsers affected:
Chrome: n/a
Firefox: n/a
Internet Explorer: n/a

Operating system & service pack:
Windows 8 (crashes - testing on three machines)
Windows 7 32- and 64-bit, SP1 (testing on four machines - working)

Construct 2 version:
R119

I understand that this is specifically a node-webkit issue, but since this has now been added as a part of the stable releases, and it's a clearly consistent error (at least with my testing on seven different machines), it was worth mentioning.
B
56
S
15
G
10
Posts: 910
Reputation: 11,942

Post » Thu Feb 21, 2013 8:44 pm

I should also add it doesn't ALWAYS work in Windows 7. Some of us have had issues with this, as well.
B
22
S
3
Posts: 451
Reputation: 2,135

Post » Fri Feb 22, 2013 1:38 pm

This is a node-webkit issue. I filed a bug with them here: https://github.com/rogerwang/node-webkit/issues/470
Closing this issue here, since it will now be handled at the above URL.
Scirra Founder
B
358
S
214
G
72
Posts: 22,946
Reputation: 178,333

Post » Fri Feb 22, 2013 3:37 pm

Cool, thanks @Ashley.
B
56
S
15
G
10
Posts: 910
Reputation: 11,942

Post » Mon Jun 03, 2013 6:46 pm

They didn't fix it yet.
But if help, someone just comment on my report to node webkit issues
to just use window.close() but I believe this is a change for the Construct 2.
B
13
S
6
Posts: 15
Reputation: 1,329

Post » Sun Jul 14, 2013 6:15 am

Sorry to revive such an old thread, but I think actually figured out a small workaround for this in the meantime. I've only tested it 10-15 times, but this never crashed for me, at least (Windows 7).

Before your "Browser: Close" line, add a "Browser: Cancel Fullscreen". Again, not sure this will work for everyone.
B
22
S
3
Posts: 451
Reputation: 2,135

Post » Sun Jul 14, 2013 10:12 am

@ome6a1717, The most consistent issue has been in Windows 8. I just tested this now and it doesn't fix it.

The JavaScript window.close() command does work, however; I've been using that for some time and it's very reliable.
B
56
S
15
G
10
Posts: 910
Reputation: 11,942


Return to Closed bugs

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests