NSWindow setFrame: slow on macOS 14

Hello there!

We do have a (custom, borderless) NSWindow which is moved / resized by app methods, not standard window-titlebar-live-windowsserver-assisted method.

In macOS14 Sonoma first developer preview, AppKit seems to be rearchitected and window management is all new. All window modifications now seem to be synchronised with display (v-sync) and thus slower.

That's fine but if we have two windows moved at the same time (we have a transparent child/parent window which is moved together with window), it's two times slower. That's very slow.

NSDisableScreenUpdates or CATransaction doesn't seem to have any effect like they did before. Any ideas?

Post not yet marked as solved Up vote post of Simplestas Down vote post of Simplestas
1k views