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

menubar not clickable on macOS Catalina until it lost and regained focus. #1648

Closed
zhuah opened this issue Feb 18, 2020 · 3 comments
Closed
Assignees
Labels
bug Bug reports and bugfix pull requests macOS verified Reproduced or otherwise verified bugs
Projects
Milestone

Comments

@zhuah
Copy link

zhuah commented Feb 18, 2020

It may related to #1165 and this commit

@elmindreda elmindreda added bug Bug reports and bugfix pull requests macOS verified Reproduced or otherwise verified bugs labels Apr 2, 2020
@elmindreda elmindreda self-assigned this Apr 2, 2020
@elmindreda elmindreda added this to the 3.3.3 milestone Apr 2, 2020
@andydotxyz
Copy link
Contributor

This is an issue that I was hoping to solve for Fyne as well (fyne-io/fyne#505) but I can't even figure how to begin debugging.

@elmindreda
Copy link
Member

If possible, please bundle your macOS GUI applications.

That said, this is clearly a bug and hopefully it can be fixed.

@andydotxyz
Copy link
Contributor

I completely agree. This is really only a developer facing issue. But I still wnated to try and help fix it ;)

@elmindreda elmindreda added this to Work queue in Queue May 26, 2020
@elmindreda elmindreda moved this from Now to Urgent in Queue Jun 11, 2020
elmindreda added a commit that referenced this issue Dec 8, 2020
NSApp setActivationPolicy: was being called too soon when the app was
not bundled and launched from the command line.

This fix is based on #1802 by @richardwilkes.

Fixes #1648.
Closes #1802.
@elmindreda elmindreda linked a pull request Jan 17, 2021 that will close this issue
elmindreda added a commit that referenced this issue Jan 18, 2021
NSApp setActivationPolicy: was being called too soon when the app was
not bundled and launched from the command line.

This fix is based on #1802 by @richardwilkes.

Fixes #1648.
Closes #1802.
elmindreda added a commit that referenced this issue Feb 10, 2021
NSApp setActivationPolicy: was being called too soon when the app was
not bundled and launched from the command line.

This fix is based on #1802 by @richardwilkes.

Fixes #1648.
Closes #1802.

Adapted to 3.3-stable from 8b11867.
maxbrunsfeld added a commit to zed-industries/zed that referenced this issue Apr 8, 2021
If this method is called too early, the menu bar won't be
clickable on startup until the window loses focus. Calling
it once the application finishes launching seems to fix
the issue.

See glfw/glfw#1648
swarnimarun pushed a commit to swarnimarun/glfw-meson that referenced this issue Jul 9, 2022
NSApp setActivationPolicy: was being called too soon when the app was
not bundled and launched from the command line.

This fix is based on glfw#1802 by @richardwilkes.

Fixes glfw#1648.
Closes glfw#1802.

Adapted to 3.3-stable from 8b11867.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports and bugfix pull requests macOS verified Reproduced or otherwise verified bugs
Projects
Queue
Urgent
Development

Successfully merging a pull request may close this issue.

3 participants