Create an NSWindow subclass for the window this happens with. Override setMinSize and put a breakpoint there? At least will tell you if it is constraints related or not.
You could also check to see if you do anything in your window.setScreen method (or didSet if using Swift). How about NSWindow.didChangeScreenNotification? I guess there's a bunch of potential notifications that could be called when changing screens. didChangeScreenProfileNotification, didUpdateNotification, didChangeBackingPropertiesNotification..
Topic:
UI Frameworks
SubTopic:
AppKit
Tags: