I have an NSTextView inside an NSScrollView with magnification. Zooming in with a pinch-and-zoom gesture works fine, but if I then resize the window while zoomed in, it will eventually crash with the error The window has been marked as needing another Display Window pass, but it has already had more Display Window passes than there are views in the window.
It does not always happen immediately, sometimes you have to keep resizing for a while to trigger it.
I have made a video illustrating the problem here: youtu.be/M_JRQI2oDaY
The original code is here: https://github.com/angstsmurf/spatterlight/tree/helpviewtest
(The branch helpviewtest is a cut down test case created for this problem.)
It does not always happen immediately, sometimes you have to keep resizing for a while to trigger it.
I have made a video illustrating the problem here: youtu.be/M_JRQI2oDaY
The original code is here: https://github.com/angstsmurf/spatterlight/tree/helpviewtest
(The branch helpviewtest is a cut down test case created for this problem.)