Reply to Using availablity checks with new .defaultWindowPlacement API As I had the same pattern to solve, I found out the following gist: https://gist.github.com/drewolbrich/15de5f1cac0163ad80150ad81a291776 Looks like it solves the problem. UI Frameworks SwiftUI Aug ’24