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
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSApp with wrong _running count' #782
Comments
Yes, I have seen this as well. According to the macOS documentation it is when an app is launched more than once (which is not supposed to happen on macOS). Not sure how, but I’m guessing there is missing cleanup in the internal/driver/glfw package (as that is the only place that real windows ever get loaded I think). |
Thanks Andy, I know we've talked about this before but I hit it, and the other flakey test, pretty much every time I work on Fyne so wanted to get issues filed so we can track them and hopefully get them fixed soon. |
Yes. Each major macOS update breaks things for us somehow :( the bigger issue is that menus don't work immediately #505 |
Yeah that is a big issue, hadn't noticed it before but now I can reliably reproduce on Catalina. Whatever code MacOS runs to activate an app after switching to it from another isn't getting run on initial app startup. But I'm just guessing - I don't have much experience as an Apple developer, I was going to start learning and port some Android apps over, but then I got into Go and found this cool cross-platform UI library :) I used to be all about Java and "Write Once, Run Anywhere", a decade later the platforms, languages, runtimes, and libraries are all different but the goal remains (unfortunately so does the anti-goal "Write Once, Debug Everywhere") |
AFAICS this is fixed on the GLFW master (but unfortunately not on the 3.3 branch). |
Okay, thanks for the update @toaster. I'm not familar with GLFW's release process, when is 3.4 expected? |
I have no idea. But I found a fix for our issue. Might be that the fix in GLFW wouldn’t even helped us. |
This seems to fix fyne-io#782.
Describe the bug:
Running the fyne test suite causes;
Note: This is similar to #77 but the exception has a different reason.
To Reproduce:
Steps to reproduce the behaviour:
Screenshots:
N/A
Example code:
N/A
Device (please complete the following information):
The text was updated successfully, but these errors were encountered: