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

macOS NSInternalInconsistencyException when changing window title #35

Open
PaintNinja opened this issue Mar 8, 2022 · 4 comments
Open
Labels

Comments

@PaintNinja
Copy link
Collaborator

Describe the bug
macOS now enforces the same thread for window title interaction. As of itlt v2.1.0 I sorted this out for icon handling and it looks like I'll need to also do this for window title stuff.

To Reproduce
Steps to reproduce the behavior:

  1. Enable custom window title
  2. Launch the game in latest macOS

Expected behavior
A clear and concise description of what you expected to happen.

Environment details
Please fill in what you know, skip any parts you don't know.

  • Operating system (e.g. Windows 10): macOS
  • Java (e.g. AdoptOpenJDK 8 HotSpot): Oracle JDK 17.0.1 64-bit
  • Mod version (e.g. 1.16.5-2.0.0): 1.18.x-2.1.0
  • Minecraft version (e.g. 1.16.5): 1.18.1

Logs and additional context
Related to #29.
Thanks to @LotuxPunk for letting me know about this.
Using an Apple Silicon M1 processor

latest.log

@PaintNinja PaintNinja added the bug label Mar 8, 2022
@PaintNinja
Copy link
Collaborator Author

I'll probably throw in a workarounds config section and some config options to selectively disable stuff on macOS just in case anything like this happens again in future.

@PaintNinja
Copy link
Collaborator Author

The workaround didn't have any effect and I'm unable to reproduce the issue on my end... weird

@deadbeat-horse
Copy link

I can confirm that this is an issue on my end as well. when added to a fresh 1.18.2 PolyMC profile, the game crashes the moment an attempt is made to update the window title.

environment details:

  • hardware: 2018 macbook pro (15-inch, 2.6 GHz 6-Core Intel Core i7)
  • operating system: macOS Ventura Version 13.0 Beta (22A5321d)
  • java: microsoft-jdk-17.0.4.1-macOS-x64
  • mod version: itlt-1.18.x-2.1.4
  • game version: minecraft 1.18.2, forge 40.1.0, PolyMC 1.4.1

logs & additional context:

@lukenator115
Copy link

Can confirm is an issue in 1.20.1 as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants