If it’s helpful, I’ve observed a few minor inconsistencies, although it’s unclear whether they’re related to the issue you described.
According to the AppKit Release Notes for macOS 10.14, the section NSRulerView and NSTextFinder View Sizing states:
For apps linked on macOS 10.14, the document of an NSScrollView can scroll under the associated horizontal and vertical NSRulerView or findBarView. This means that the NSClipView is sized and positioned under those accessories, and that will be reflected in the clip view’s contentInsets.
If you’re writing a document view class that observes the containing clip view’s size to determine its own size, take these contentInsets into account when you’re determining the document size, to avoid it being larger than the inset document area.
In macOS 26.1 Tahoe, the behavior doesn’t appear to be consistent with what’s described in the release notes.
Topic:
UI Frameworks
SubTopic:
AppKit
Tags: