I just had a bug reported that I had previously no idea about in my app. If you set the system preferences in MacOS to “Prefer Tabs Always” when opening documents, I am having some of my windows open as a tab in other windows. I don’t want that. But what’s strange is not every window opens as a tab. Some open correctly but others don’t and I can’t find what it is that makes it behave one way or another.
How can you force a window to open as a window and not a tab?