OK, I have been fighting this problem for (literally) years. No matter what preferences I set, Preview insisted on opening new documents in a tab of a (random) window of an already-opened PDF. I finally decided to fix this, no matter how long it took.
I created a “test” account, and determined that Preview would open PDFs in either tabs or windows, depending on the setting of the “Prefer tabs...” System Setting. I also determined that Preview would honor the state of AppleWindowTabbingMode
using defaults write
:
defaults write com.apple.Preview AppleWindowTabbingMode -string never
So, the behavior of Preview in the test account was correct.
But, copying the preferences from the test account to my main account did not change Preview’s behavior. In my main account, Preview ignored the state of AppleWindowTabbingMode.
I finally decided to close every PDF that Preview had open, quit Preview, and then wipe every preference for Preview.
These preferences are:
/Users/[yourname]/Library/Preferences/com.apple.Preview.plist
/Users/[yourname]/Library/Containers/Preview
For the one in Containers, I threw the entire Preview folder away.
When I re-launched Preview, it would now open PDFs in windows, and honor the settings in both System Settings -> Prefer tabs... and the
defaults write AppleWindowTabbingMode
preference.
I hope this helps someone else.