Skip to content
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

Fix opening up Livebook Desktop via Spotlight #1942

Merged
merged 1 commit into from
May 30, 2023
Merged

Conversation

wojtekmach
Copy link
Contributor

@wojtekmach wojtekmach commented May 30, 2023

applicationDidBecomeActive was fired along with application(_, open urls) resulting in launching the browser twice.

From applicationShouldHandleReopen docs:

These events are sent whenever the Finder reactivates an already running application because someone double-clicked it again or used the dock to activate it.

And this is more inline with what we want.

cc @BobbyMcWho

`applicationDidBecomeActive` was fired after `application(_, open urls)`
resulting in launching the browser twice.

From `applicationShouldHandleReopen` docs:

> These events are sent whenever the Finder reactivates an already
> running application because someone double-clicked it again or used the
> dock to activate it.

And this is more inline with what we want.
@wojtekmach wojtekmach merged commit 6ba699f into main May 30, 2023
6 checks passed
@wojtekmach wojtekmach deleted the wm-fix-spotlight branch May 30, 2023 14:29
Copy link
Contributor

@BobbyMcWho BobbyMcWho left a comment

Choose a reason for hiding this comment

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

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants