Fix for + tile crashing in Tab Overview #11008
|
I have this branch up to fix #10252. It was written with AI, but only after I made sure I thoroughly understood what was happening (almost to an excessive extent). My sole commit: nmggithub@dd4e36f TL;DR: deep within AppKit, there is an Objective-C exception that is always thrown when opening a new tab from the visual tab picker ("tab overview"). Objective-C exceptions cannot be safely recovered from in Swift. As Ghostty is primarily Swift, we must introduce some Objective-C wrapper around tab creation to safely swallow this exception. There is a lot more I know about this than the above, and can discuss it at length if desired. Interestingly, it seems debug builds of Ghostty ( Release build off of my commit: Screen.Recording.2026-02-24.at.20.56.35.movDebug build off Screen.Recording.2026-02-24.at.20.58.04.mov |
Once you're vouched, go ahead and open a PR. No need for further discussion.