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: Do not activate app when calling focus on inactive panel window #40464

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Nov 6, 2023

Backport of #40307

See that PR for details.

Notes: Fixed app incorrectly activating panel windows on macOS Sonoma

trop bot and others added 3 commits November 6, 2023 21:38
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
@trop trop bot added 27-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Nov 6, 2023
codebytere
codebytere previously approved these changes Nov 7, 2023
Copy link
Member

@codebytere codebytere left a comment

Choose a reason for hiding this comment

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

@codebytere codebytere dismissed their stale review November 7, 2023 22:37

meant to req changes

Copy link
Member

@codebytere codebytere left a comment

Choose a reason for hiding this comment

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

@felixrieseberg

../../electron/shell/browser/native_window_mac.mm:486:42: error: no known instance method for selector 'activate'
  486 |       [[NSApplication sharedApplication] activate];
      |                                          ^~~~~~~~
sdk/xcode_links/MacOSX13.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:158:12: note: receiver is instance of class declared here
  158 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
      |            ^
1 error generated.

@felixrieseberg
Copy link
Member

Closing this as we're still fine-tuning the actual calls.

@trop trop bot deleted the trop/27-x-y-bp-fix-do-not-activate-app-when-calling-focus-on-inactive-panel-window-1699306709437 branch November 20, 2023 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
27-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants