Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

[NSRulerView] Is it buggy in Monterey?

I have a NSRulerView with a vertical orientation. It works fine from macOS 10.13 to 11.x.

In macOS Monterey (12.2.1 here), the ruler view is not receiving drawHashMarksAndLabelsInRect: messages when the associated NSTextView is scrolled vertically.

When the parent NSScrollView is resized, the ruler view is correctly refreshed on all macOS versions.

[Q] Is it a known bug in macOS Monterey?

FB10026850

In 2025 and in macOS Sequoia, the bug is still there.

It can be easily reproduced for instance with this Swift project https://github.com/yichizhang/NSTextView-LineNumberView

[NSRulerView] Is it buggy in Monterey?
 
 
Q