New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to electron 5.0.12 #20172
Upgrade to electron 5.0.12 #20172
Conversation
The most recent stable version of the electron is 7.1.2 now. |
@remagpie, electron upgrades on atom are done one version at a time until the latest version is reached. |
Congrats on your progress for the Electron-upgrade process. Is there any ETA for which release/milestone of Atom the electron-upgrade will be applied? |
@darangi Thank you for upgrading. Is there any plan for continuing upgrading Electron to upper versions? |
@aminya Thanks! Yes, we have plans in the future to do that |
Awesome! That's a very good way to enhance the Atom's overall performance. Would you please take a look at this? Maybe this is related to this PR |
This upgrades atom from
4.2.7
to5.0.12
, this helps prevent the crash happening on Mac OS 10.15 (Catalina)TODO
node v12.13.1
andnpm v6.12.1
ISSUES TO RESOLVE
leveldown@4.0.0
toleveldown@5.4.1
inelectron-link
to fix build errorelectron-link@0.4.1
https://github.com/atom/electron-linkoniguruma@6.2.1
tooniguruma@7.2.1
inapm
to fix build errorapm@2.4.4
version https://github.com/atom/apmgit-utils@5.6.2
https://github.com/atom/git-utilsgit-utils@5.6.1
togit-utils@5.6.2
inatom/atom
andapm
to fix build errorfuzzy-finder
https://github.com/atom/fuzzy-finderfuzzy-native@1.1.2
https://github.com/atom/fuzzy-native/releases/tag/v1.1.2fuzzy-native@1.1.1
tofuzzy-native@1.1.2
infuzzy-finder
to fix build errorfuzzy-finder@1.14.2
https://github.com/atom/fuzzy-finder/releases/tag/v1.14.2fuzzy-finder@1.14.1
tofuzzy-finder@1.14.2
inatom/atom
to fix build errorfs-admin@0.5.0
tofs-admin 0.12.0
to fix build errortext-buffer
Fix Node 12 compilation error text-buffer#317tree-sitter-css@0.13.7
totree-sitter-css@0.13.8
inlanguage-css
to fix build errorlanguage-css
https://github.com/atom/language-css/releases/tag/v0.44.4tree-sitter-embedded-template@0.15.0
totree-sitter-embedded-template@0.15.2
inlanguage-html
to fix build errorlanguage-html@0.53.1
https://github.com/atom/language-html/releases/tag/v0.53.1tree-sitter-go@0.15.0
totree-sitter-go@0.15.1
inlanguage-go
to fix build errorlanguage-go@0.47.1
https://github.com/atom/language-go/releases/tag/v0.47.2tree-sitter-javascript@0.15.2
https://github.com/tree-sitter/tree-sitter-javascript/releases/tag/v0.15.2tree-sitter-javascript@0.15.0
totree-sitter-javascript@0.15.2
inlanguage-javascript
to fix build error.language-javascript@0.133.2
https://github.com/atom/language-javascript/releases/tag/v0.134.1tree-sitter-json@0.14.0
totree-sitter-json@0.15.1
inlanguage-json
to fix build errorlanguage-json@1.0.5
https://github.com/atom/language-json/releases/tag/v1.0.5tree-sitter-python@0.15.0
totree-sitter-json@0.15.1
inlanguage-python
to fix build errorlanguage-python@0.53.4
https://github.com/atom/language-python/releases/tag/v0.53.4tree-sitter-typescript@0.15.2
https://github.com/tree-sitter/tree-sitter-typescript/releases/tag/v0.15.2tree-sitter-typescript@0.15.1
totree-sitter-typescript@0.15.2
inlanguage-typescript
to fix build error.language-typescript@0.6.1
https://github.com/atom/language-typescript/releases/tag/v0.6.1language-java@0.31.3
tolanguage-java@0.13.4
inatom/atom
tree-sitter-rust@0.15.1
totree-sitter-rust@0.15.1
inlanguage-rust-bundled
to fix build errorswhats-my-line@0.1.1
towhats-my-line@0.1.2
ingithub
chrome-sandbox
bug on linux chrome-sandbox permission error #20289 (18da630)FAILING TESTS
Regressions to fix before merging
Known bugs resolved by this upgrade
Fixes #20034
Electron Upgrade Test Manifest
Review issues tagged with
electron
to see if any of them are fixedVerify that you can collaborate with Teletype
Steps
Check for regressions experienced in previous upgrades
Text Input/Keybindings
See how to setup keyboard layouts.
IME not working (1.19.0-beta2: Cursor stucks at the first letter when using macOS Chinese IME #14911)
Repro steps
zhongwenshuru
Expected: in Pinyin simplified
中文输入
is expectedIssues we've seen: Only shows latin first character and not every character typed.
macOS: Key binding with composition characters are ignored (key-mappings with
alt
don't suppress Mac OS composition characters anymore (atom-1.19) #15189)Repro steps
ABC - Extended
keyboard layoutExpected: the keybindings work
Issues we've seen: it types out the modified keys and ignores the key mapping
macOS: Composition characters mess up insertion point (Composition characters mess up insertion point #15344)
Repro steps
Expected: Both alt-o and alt-n behave the same
Issues we've seen:

Ubuntu: Keystrokes involving ctrl resolve to the default layout instead of the active layout (Keystrokes involving ctrl on Linux resolve to the default layout instead of the active layout #13170)
Repro steps
This should be tested on Linux with gnome
Expected:
core:close
to dispatch (Or the keybinding-resolver to resolve to ctrl-w). Should be resolving to the keyboard layout that is chosen and not the OS default layout.Issues we've seen:
core:undo
dispatched because it was resolved as ctrl-z because AZERTY has Z where W is on QWERTY.Other keyboard layouts on new Electron version
UI
tree-view drag image (Display the correct drag image on Electron >= 1.14 tree-view#1054)
Repro steps
Expected:

Issues we've seen:
drag-and-drop indicator (Fix missing drop indicator on Electron >= 1.14 tree-view#1055, Fix missing drop indicator on Electron >= 1.4 tabs#426, Fix mistakenly shown docks drop indicator on Electron >= 1.4 tabs#437)
Repro steps
atom folderA folderB folderC
)Expected:
The placeholder indicates where the folder/project is being dropped to.
Issues we've seen:
No placeholder shows up after drag and dropping
Large file rendering (Bad rendering after ~1 million lines #16591)
Repro steps
Expected: To not regress the number of lines that can be rendered. Rendering to be correct for lines past a certain point. Atom 1.25 can render around 800k to 1 million lines correctly.
Issues we've seen: Increased number of lines rendered but bad rendering past a certain point
Loss of subpixel AA when the cursor is at the end of long lines (Loss of subpixel AA on soft-wrapped line #16889, Don't break subpixel AA when cursor is at the end of longest line #16595)
Repro steps
a
until the you reach the end of the windowExpected: To not lose subpixel AA
Issues we've seen: Loss of subpixel AA. Both when soft wrapping was enabled and disabled.
Scrolling horizontally shift + scroll wheel (Upgrade Electron to v1.6.x #12696 (comment))
Repro steps
Expected: File to scroll horizontally in both directions
Issues we've seen: File does not scroll horizontally at all in any direction
Scrollbars misbehaving on the first file that is opened (Upgrade Electron to v1.6.x #12696 (comment))
Repro steps
Expected: Scrollbar to be visible
Issues we've seen: Scrollbar is not visible and is flickering when you are editing
Middle clicking on unsaved tab (1.19, Linux: Middle-clicking an unsaved tab causes entire desktop to be unresponsive to clicks #15197)
Repro steps
Expected:
Clicking save/cancel or the options on the dialog works.
Issues we've seen:
The UI and the dialog is unable to receive mouse clicks. You can still choose options via Keyboard, but not mouse.
Linux: Atom scrolls even when not focused (Atom scrolls even when not focused #15482)
Repro steps
Expected: Atom window should keep the original scroll position
Issues we've seen: The Atom window scrolls after it is focused
Other
Deprecation warnings (Upgrade Electron to v1.6.x #12696 (comment))
Repro steps
This should be tested on macOS, Linux and Windows with community packages installed
Expected: No new deprecation warnings
Issues we've seen: New deprecation warnings both from core and community packages
Supported Versions of OS (Atom 1.19.0 crashes instantly after launching #15297)
Repro steps
Expected: https://atom.io and https://atom.io/faq to display the same versions as the Electron documentation
Issues we've seen: macOS version support changed and https://atom.io and https://atom.io/faq was not updated
macOS : Native tabs (Native tabs on macOS #14711)
Repro steps
Show Tab Bar
Expected:
Native Tab bar shows up and able to drag different windows to each other. Also make sure UI isn't messed up.
Issues we've seen:
Native Tab Bar doesn't work and messes up UI when enabled
Ubuntu with KDE: Menu uses 100% CPU (Globalmenu consumes 100% CPU and does not work electron/electron#8455, Menus not working in plasma 5.9 with global menu enabled #13885)
Repro steps
Expected:
Desktop menu items work
Issues we've seen:
Desktop menu items do nothing when you click on things.
macOS: Slovak QWERTZ (Slovak QWERTZ does not resolve keys correctly on macOS atom-keymap#223)
Repro steps
cmd+'
.Expected: Resolves to
cmd+'
like it shows on keyboard viewer on mac.Issues we've seen: It resolves to
ctrl+§
macOS: IME jump (1.20.0: Popup jump when using macOS Chinese IME #15696)
Repro steps
Expected:
Expected the IME to be positioned at under the character you entered
Issues we've seen: The IME window is in the top left corner. When you enter the second character it jumps to be positioned under the text