Repository navigation
Update Electron to 0.37 - #11474
Update Electron to 0.37#11474
Conversation
|
Three failing core specs, one of which is already flaky (I think). |
No longer needed with the `backgroundThrottling` option
|
@nathansobo I noticed you also bumped some timeouts in a35e246 and 21f8ad6 - do those need to be reverted as well (and do you recall any other parts of the code with extended timeouts)? |
|
Crash while running specs in https://travis-ci.org/atom/atom/jobs/123212713#L246. Just noticed |
|
@50Wliu Yes, if we've fixed throttling we should revert to the normal timeouts. |
|
@50Wliu I assume we need to include commits from 0.36.12 PR as well with this PR? |
|
@Nikki1993: Yup, that's why it has the |
|
@50Wliu Cool, I went ahead and created a patch for both PR, so that I can easily apply it each time I sync atom from master. I thing I noticed immediately is much faster cold startup time and general increase in responsiveness. This entire time I worked with it, I had 0 issues or new regressions introduced (apart from already reported on github). Let me know if there is any additional testing I can do, or anything if that matters, to speed up the PR merge. |
|
Electron 37.7 has been released 2 days ago btw, https://github.com/electron/electron/releases/tag/v0.37.7 |
Reverts a35e246
# Conflicts: # package.json
|
I've been running a manual update for weeks. No problems. Arch linux. |
|
@Nikki1993 impossible to keep up with that... But the 1.x promise is to keep the API stable. |
|
@thorade yep. Unfortunately, this PR, most likely, will have to stop at electron 0.37.8 since 1.0.1 removes deprecated, but not flagged as such, APIs. Better upgrade to electron 0.37.8, see if there are any used deprecated APIs, refactor the code and create a separate 1.x PR. Or so that's what @50Wliu would do I gather :D |
|
Exactly :). Need to give package authors time to update all their code as well! |
|
I think some of the crashing bugs we're getting in Atom 1.7.0-3 are related to Electron 0.36.8 Where are we with this PR? |
|
I've been using it for about a week and the only regression I've found so far is lack of subpixel anti-aliasing (but I have no idea how to fix that). The other problem is background throttling but I've reverted the timeout decreases so those specs are passing again. |
In Electron 0.37.3 the default background color has changed from white to transparent, and as per the sub pixel anti-aliasing specification, the layer which hosts the glyphs that need to be rendered needs to have an opaque background. We have also observed that upon reload everything seems to work smoothly even without this fix: this probably points in the direction of a regression in Electron, but in the meantime this fix should suffice to allow us to proceed.
|
🎉 🎉 🎉 Thanks for your work on this, @50Wliu! |
|
When we are going to upgrade directly to electron 1.0? |
|
@damieng thanks ! |
|
Resolves #5359 |
|
@50Wliu Chromium version, used in this update, is very slow with rendering huge SVG documents (with lots of text nodes). I am right now creating atom package, which allows to draw different diagrams. And now it is super slow. It is really frustrating, because latest Chrome version has fixed this issue. So, previously everything was fast in Atom and slow in Chrome. And now it is vice versa. =( |
Naïve bump to Electron 37 to see what broke and what got fixed.
Blocked on #11348TODO:
Fix background throttling(text-editor-component-spec.coffeefails even if we disable throttling, which means those specs need to be revamped because they're too time sensitive)Closes #6320
Unblocks atom/atom-keymap#35
If anyone knows of any other issues that are resolved with the upgrade to 0.37 please let me know!
/cc @lee-dohm