4 ms·
This was the response I got from Slack 9 months ago when I asked them about this. I get 30% cpu burn if i close the slack window with a animated gif in it ----
by seanalltogether 9y ago
This was the response I got from Slack 9 months ago when I asked them about this. I get 30% cpu burn if i close the slack window with a animated gif in it
--------
Hi Sean,
Thanks for getting in touch with your feedback. This is something which I actually raised with our engineering team the other day and it's something we have discussed in depth. For now, we don't actually have any way of knowing when the app is minimized from the webapp portion of your app. Because of this, the gifs do not stop running when the app is minimized. We are considering our options here though and looking into what we could do in the future to improve this behavior.
If there is anything else that I can help you with in the meantime, please do let me know.
Best regards,
- vosper 9y agoThat's weird, because Electron's BrowserWindow class emits a few events which should make this possible: 'minimize', 'hide', etc... https://electron.atom.io/docs/api/browser-window/#event-hide https://electron.atom.io/docs/api/browser-window/#event-hide