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: Use activateIgnoringOtherApps for non-panels #40570

Merged
merged 1 commit into from Nov 27, 2023

Conversation

felixrieseberg
Copy link
Member

Description of Change

This PR builds on top of #40307, which switched out the now-deprecated activateIgnoringOtherApps for the new activate. Thanks to #40307 (comment), we now know that the new API doesn't quite behave exactly like the old one - so we'll use activate where activateIgnoringOtherApps is broken on macOS Sonoma — and in all other cases, continue to use activateIgnoringOtherApps.

Checklist

Release Notes

Notes: Use activateIgnoringOtherApps for focusing non-panels on macOS

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Nov 20, 2023
@felixrieseberg felixrieseberg added target/28-x-y PR should also be added to the "28-x-y" branch. semver/patch backwards-compatible bug fixes labels Nov 20, 2023
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Nov 21, 2023
@jkleinsc jkleinsc merged commit f0f027c into electron:main Nov 27, 2023
18 checks passed
Copy link

release-clerk bot commented Nov 27, 2023

Release Notes Persisted

Use activateIgnoringOtherApps for focusing non-panels on macOS

@trop
Copy link
Contributor

trop bot commented Nov 27, 2023

I have automatically backported this PR to "28-x-y", please check out #40621

@trop trop bot added in-flight/28-x-y merged/28-x-y PR was merged to the "28-x-y" branch. and removed target/28-x-y PR should also be added to the "28-x-y" branch. in-flight/28-x-y labels Nov 27, 2023
MrHuangJser pushed a commit to MrHuangJser/electron that referenced this pull request Dec 11, 2023
Use activateIgnoringOtherApps for non-panels
@felixrieseberg felixrieseberg deleted the felixr-activate-take-ii branch January 16, 2024 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged/28-x-y PR was merged to the "28-x-y" branch. semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants