I really hope whatever the NativeWindow changes are allow Slack to finally stop rendering when the app goes to the background. My battery has been killed a couple times by the Slack renderer using ~30% cpu playing gifs while the app isn't visible, and their support says its because they don't have a notification hook for minimizing
Is writing native apps honestly still so hard these days?
I can appreciate the concerns about maintaining multiple codebases and dealing with different delivery mechanisms and their rules, but modern iOS/macOS and Windows APIs (at least; I cannot speak for Android and Linux) seem just as easy, let you work in arguably better languages, evolve at a faster rate, and provide a better experience for users and their machines.
> their support says its because they don't have a notification hook for minimizing
That doesn't even seem correct - the BrowserWindow emits "hide" and "show" events [1] that Slack could use to do exactly what you're describing. I'm guessing they just don't want to implement it for some reason?
Assuming they update soon enough I suppose. I find using the browser window for Slack is easier, the main browsers I use let you pin tabs so it's even easier, plus I can put a darker theme on Slack, so sick of the bright white background.
You can kinda disable gifs by going to preferences > Messages & Media and unchecking "Show images and files from linked websites". Doesn't get them all but it really helps.
Thanks, this is the "real" changelog. I wish projects didn't waste these great PR opportunities. There should be a blog post written by a human for human consumption that explains why we should be excited.
We've been releasing with the 3.0 betas for about a month now and haven't had any issues. It's been pretty stable.
Actually more stable than the 2.x series as it has a number of bug fixes that weren't in the 2.0.0 ... really glad this platform is still moving forward aggressively.
There are also 4.0 beta builds up which I haven't played with yet.
I have eagerly waited for this release, as it uses Chrome 66. Previous stable version used Chrome 61, which lacked some nice additions to JS, most notably for me - the complete Intl API support.
Will electron apps finally stop canceling OS X shutdown / restart (before quitting themselves)? Atom, Slack, and others each prevent shutdown one at a time.
I'm excited, I need to dig though to see if any of the chrome updates fixed accessibility issues. The press release doesn't link the the PDF support issue which is a little worrying.
Out of curiosity, assuming that Node 10.8 (or the latest version we're on) doesn't break anything from 10.2, and also assuming that the Node abstraction layer protects developers from underlying V8 ABI changes; why would Electron release a new version with dated versions of Node and V8?
[+] [-] seanalltogether|7 years ago|reply
[+] [-] Razengan|7 years ago|reply
I can appreciate the concerns about maintaining multiple codebases and dealing with different delivery mechanisms and their rules, but modern iOS/macOS and Windows APIs (at least; I cannot speak for Android and Linux) seem just as easy, let you work in arguably better languages, evolve at a faster rate, and provide a better experience for users and their machines.
[+] [-] stefan_|7 years ago|reply
[+] [-] 43920|7 years ago|reply
That doesn't even seem correct - the BrowserWindow emits "hide" and "show" events [1] that Slack could use to do exactly what you're describing. I'm guessing they just don't want to implement it for some reason?
[1] https://electronjs.org/docs/api/browser-window#event-show
[+] [-] giancarlostoro|7 years ago|reply
[+] [-] dawnerd|7 years ago|reply
[+] [-] baxter001|7 years ago|reply
Here's hoping something deeper was broken about them that now drastically changes top-level api behaviour!
[+] [-] mkonecny|7 years ago|reply
[+] [-] pacifika|7 years ago|reply
[+] [-] giancarlostoro|7 years ago|reply
https://electronjs.org/releases#3.0.0-beta.1
[+] [-] jonny_eh|7 years ago|reply
[+] [-] burtonator|7 years ago|reply
https://github.com/burtonator/polar-bookshelf
We've been releasing with the 3.0 betas for about a month now and haven't had any issues. It's been pretty stable.
Actually more stable than the 2.x series as it has a number of bug fixes that weren't in the 2.0.0 ... really glad this platform is still moving forward aggressively.
There are also 4.0 beta builds up which I haven't played with yet.
[+] [-] M4v3R|7 years ago|reply
[+] [-] LeoNatan25|7 years ago|reply
[+] [-] cordite|7 years ago|reply
[+] [-] johnthedebs|7 years ago|reply
[+] [-] Forge36|7 years ago|reply
I think the fix is: https://github.com/electron/electron/pull/13760
[+] [-] nevi-me|7 years ago|reply
Is it because of a release cycle?
[+] [-] derfnugget|7 years ago|reply
[+] [-] draw_down|7 years ago|reply
[deleted]