Post

Replies

Boosts

Views

Activity

Comment on NSLayoutManager Bug -- layout manager re-laying out overlapping text into the same container.
For more context: I did further testing using exclusionPaths and this bug reliably occurs with ANY exclusion path occurring within the top 13 points of the second container. Any exclusion path there - even one just 1pt by 1pt - will cause ALL of the text to lay out into the first container, overlapping itself. I.e., the exclusion path NSBezierPath(rect: CGRect(x: 0, y: 13, width: 1, height: 1)) causes the same bug as the code above that uses CGRect(x: 0, y: 0, width: 306, height: 648).
Topic: UI Frameworks SubTopic: AppKit Tags:
May ’25