Skip to content

fix: trigger activate event when app is activated via app switcher - #23773

Merged
zcbenz merged 1 commit into
9-x-yfrom
trop/9-x-y-bp-fix-trigger-activate-event-when-app-is-activated-via-app-switcher-1590505146122
May 27, 2020
Merged

zcbenz merged 1 commit into
9-x-yfrom
trop/9-x-y-bp-fix-trigger-activate-event-when-app-is-activated-via-app-switcher-1590505146122

Conversation

@trop

@trop trop Bot commented May 26, 2020

Copy link
Copy Markdown
Contributor

Backport of #23727

See that PR for details.

Notes: none

When application is activated thru macOS app switcher (cmd+tab) the
App's activate event is note emitted. The reason is that
`applicationShouldHandleReopen:hasVisibleWindows:` is sent only when app
is activated via Dock. Using `applicationDidBecomeActive:` is handling
all cases properly.
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label May 26, 2020
@trop trop Bot added 9-x-y backport This is a backport PR labels May 26, 2020
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label May 26, 2020
@zcbenz
zcbenz merged commit b5baafd into 9-x-y May 27, 2020
@release-clerk

release-clerk Bot commented May 27, 2020

Copy link
Copy Markdown

No Release Notes

@zcbenz
zcbenz deleted the trop/9-x-y-bp-fix-trigger-activate-event-when-app-is-activated-via-app-switcher-1590505146122 branch May 27, 2020 00:52
zcbenz added a commit that referenced this pull request May 28, 2020
jkleinsc pushed a commit that referenced this pull request May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

9-x-y backport This is a backport PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant