I've done some testing with it too now, and I can also reproduce it, although it's rather strange and I'm fairly sure it's a bug in macOS (or conceivably an intended change on Apple's part, but which contains a bug):
- If you restart the Mac via Apple's system (Apple) menu then macOS correctly takes account of the user option whether to re-launch currently-open applications.
- If you restart the Mac programmatically (by sending a 'kAERestart' Apple system event to macOS, as Apple's developer documentation recommends, which is *exactly* what Hauptwerk does:
https://developer.apple.com/library/content/qa/qa1134/_index.html ), then macOS seems always to re-launch (at least some of the) currently-open applications, regardless of the user option.
- However, it seems a bit erratic, in that if you have several applications/windows open and then re-start macOS programmatically, then macOS reopens some of the applications/windows after booting, but sometimes not all. For example, I opened a Finder window and Hauptwerk, then re-started the Mac from Hauptwerk, and after rebooting macOS re-opened the Finder window but not Hauptwerk. However, if the Finder window wasn't open then it always seemed to re-launch Hauptwerk. This in particular makes me think it's a bug in macOS (or a change that was intended but actually contains a bug).
Best regards, Martin.
Hauptwerk software designer/developer, Milan Digital Audio.