HTML5: Stop timer if application is paused (3274)

Hi,

3274 is causing issues with previously working apps. The app is pausing even while it is in use, commands are buffered, and then they only will trigger when clicking off the window and back on the app.

Seems directly related to “HTML5: Stop timer if application is paused”, but my app is not paused nor is the focus elsewhere.

-dev

Hi,

Here is the test case.

  1. If you click through everything it works as its supposed to https://coroniumcore.com/html5/modal/3273/index-debug.html

  2. Click the “close” button in the modal. Keep clicking on a few actions in the app. You should notice it will stop reacting after this even though the clicks are  focused on the app canvas. Click elsewhere (your desktop, another app. etc.) and then click back on the HTML5 app. You will see all the actions run when you give focus back to the app (observe the console output to see the buffered actions) https://coroniumcore.com/html5/modal/3274/index-debug.html

-dev

Oops, thanks for the report. Reverted previous changes and applied another solution to stop app timer.

Hi,

Here is the test case.

  1. If you click through everything it works as its supposed to https://coroniumcore.com/html5/modal/3273/index-debug.html

  2. Click the “close” button in the modal. Keep clicking on a few actions in the app. You should notice it will stop reacting after this even though the clicks are  focused on the app canvas. Click elsewhere (your desktop, another app. etc.) and then click back on the HTML5 app. You will see all the actions run when you give focus back to the app (observe the console output to see the buffered actions) https://coroniumcore.com/html5/modal/3274/index-debug.html

-dev

Oops, thanks for the report. Reverted previous changes and applied another solution to stop app timer.