zlepper / itlt

It's the little things mod, a mod about the little things.
MIT License
12 stars 5 forks source link

macOS NSInternalInconsistencyException when changing window title #35

Open PaintNinja opened 2 years ago

PaintNinja commented 2 years ago

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.

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 commented 2 years ago

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 commented 2 years ago

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

deadbeat-horse commented 2 years ago

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:

logs & additional context:

lukenator115 commented 9 months ago

Can confirm is an issue in 1.20.1 as well