macOS NSInternalInconsistencyException when changing window title
PaintNinja opened this issue ยท 4 comments
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:
- Enable custom window title
- 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
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.
The workaround didn't have any effect and I'm unable to reproduce the issue on my end... weird
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