New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constraints warning #150

aonez opened this Issue Nov 2, 2017 · 2 comments


None yet
2 participants

aonez commented Nov 2, 2017

Just another warning thrown on the console. No GUI visual impact, as far as I can tell.

Fork[]: Unable to simultaneously satisfy constraints:
    "<NSAutoresizingMaskLayoutConstraint:0x7ffdc0e30000 h=--& v=--& V:[NSToolbarItemViewer:0x7ffdc0de2980(5)]>",
    "<NSAutoresizingMaskLayoutConstraint:0x7ffdc0e32b50 h=--& v=-&- V:|-(3)-[_NSToolbarSpace:0x7ffdc0dfaf30]   (Names: '|':NSToolbarItemViewer:0x7ffdc0de2980 )>",
    "<NSAutoresizingMaskLayoutConstraint:0x7ffdc0e32ea0 h=--& v=-&- V:[_NSToolbarSpace:0x7ffdc0dfaf30]-(7)-|   (Names: '|':NSToolbarItemViewer:0x7ffdc0de2980 )>"

Will attempt to recover by breaking constraint 
<NSAutoresizingMaskLayoutConstraint:0x7ffdc0e32b50 h=--& v=-&- V:|-(3)-[_NSToolbarSpace:0x7ffdc0dfaf30]   (Names: '|':NSToolbarItemViewer:0x7ffdc0de2980 )>

Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens.  And/or, break on objc_exception_throw to catch this in the debugger.

@DanPristupov DanPristupov added this to the 1.0.70 milestone Sep 14, 2018

@DanPristupov DanPristupov added the done label Sep 17, 2018


This comment has been minimized.


DanPristupov commented Sep 17, 2018

Finally I found a way to fix it. I'm happy to mark this issue as "done"


This comment has been minimized.

aonez commented Sep 17, 2018

Thanks @DanPristupov!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment