Backport macOS startup and shutdown fixes to Atom 1.55 by DeeDeeG · Pull Request #21948 · atom/atom · GitHub
Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Backport macOS startup and shutdown fixes to Atom 1.55 - #21948

Merged
sadick254 merged 2 commits into
atom:1.55-releasesfrom
DeeDeeG:backport-macOS-startup-shutdown-fixes-to-1.55
Feb 10, 2021
Merged

sadick254 merged 2 commits into
atom:1.55-releasesfrom
DeeDeeG:backport-macOS-startup-shutdown-fixes-to-1.55

Conversation

@DeeDeeG

@DeeDeeG DeeDeeG commented Feb 10, 2021 •

Copy link
Copy Markdown
Contributor

Requirements for Contributing a Bug Fix

Identify the Bug

Fixes: #17672 (for Atom 1.55)
Fixes: #20831 (for Atom 1.55)

and

Fixes: #21013 (probably) (for Atom 1.55)
Fixes: #21751 (for Atom 1.55)
Fixes: #21820 (for Atom 1.55)

Description of the Change

Backport the fixes from #21847 and #21861 to Atom 1.55 (currently the Beta channel, expected to become stable soon).

These are very noticeable bugs that continue to confuse users of Atom stable and Beta on macOS at the moment. It might be worthwhile to backport these fixes.

Alternate Designs

We could just wait for Atom 1.56 to reach Beta and Stable, but that could take about a month longer.

Possible Drawbacks

None.

Verification Process

CI run at my fork for this PR. (Still running.)

(This has been in Nightly for a while and is working well.)

See the original PRs for more details.

Release Notes

Fix buggy launching and quitting for certain situations on macOS.

DeeDeeG and others added 2 commits February 7, 2021 21:14
* 🍎 Don't quit on 'window-all-closed' on macOS

This prevents a lot of buggy partial-quitting stuff from happening.

Fixes: atom#17672
Fixes: atom#20831

(cherry picked from commit 72709dc)

Co-authored-by: Benjamin Gray <bengray178@gmail.com>
…rotect (atom#21861)

macOS Gatekeeper adds a flag ("-psn_0_[six or seven digits here]") when it intercepts Atom launches.
This happens for fresh downloads, new installs, or first launches after upgrading).
 We don't need this flag, and yargs interprets it as many short flags. So, we filter it out.

(cherry picked from commit 7928a1b)

@sadick254 sadick254 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy with the backports. 👍

@sadick254
sadick254 merged commit 2427444 into atom:1.55-releases Feb 10, 2021
@DeeDeeG

DeeDeeG commented Feb 10, 2021

Copy link
Copy Markdown
Contributor Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants