on end layout doesn't trigger upon nodeweb kit browser close

Discussion and feedback on Construct 2

Post » Mon Jun 02, 2014 6:16 am

Hi

I wrote a short test app, to count the duration in seconds from pressing a start button. The app runs in node webkit. Upon closing the browser window, i expected the on layout end to trigger, as per manual. However, the event does not get triggered.

I am including a link to the test project: https://dl.dropboxusercontent.com/u/102 ... Close.capx

is this a know issue?

thanks,

Dan
B
8
S
4
G
1
Posts: 205
Reputation: 1,354

Post » Mon Jun 02, 2014 12:02 pm

I don't think it triggers when closing a browser tab either, so this would be by design and not specific to node-webkit.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,782

Post » Mon Jun 02, 2014 12:05 pm

Thanks.

I guess its a bit ambiguous in the manual:

"Start & end
On end of layout
Triggered when the layout is ending. This can happen when the project goes to a different layout or when the project closes."

I guess it depends what project closing means.

https://www.scirra.com/manual/124/system-conditions
B
8
S
4
G
1
Posts: 205
Reputation: 1,354


Return to Construct 2 General

Who is online

Users browsing this forum: ditocruz, SysDiman, zenox98 and 10 guests