Post

Replies

Boosts

Views

Activity

Reply to Window NSWindow 0x137632e40 ordered front from a non-active application and may order beneath the active application's windows
I started seeing same warnings but they weren't there before. Not sure if some behaviour on macOS changed or is just noise, but to on the safe side I changed my implementation to open the first window on my app. The key is to use orderFrontRegardless() instead of makeKeyAndOrderFront(nil) Example func applicationDidFinishLaunching(_: Notification) { let window = Window() window.makeKey() window.orderFrontRegardless() }
Jul ’23