[Solved] macOS Window Overlay Effect Bug?

user1922718 Asks: macOS Window Overlay Effect Bug?
I’m developing a macOS app for Big Sur. I want to take advantage of the blur effect of the window bar over my content. I have set the fullSizeContentView mask on the window. However, I can only get the effect to work when I have set a minimal amount of spacing between the scrollview’s leading edge and its superview’s leading edge. This seems to be a bug in AppKit. Can anyone confirm or tell me what I’m doing wrong?

See below clips: First I have a simple Xcode project (no code, just using the Storyboard). Scroll view is setup in the content view of the view controller. The Scroll View has no spacing to its superview for its top, trailing and bottom edges. The leading edge has standard spacing (20pt) to its superview’s leading edge.
blur works as expected

This works as expected, but I don’t want the the leading edge spacing. So I set the leading edge spacing to 0.
set leading edge spacing to 0

And the blur effect goes away.
no blur :(

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.