# macOS Window Overlay Effect Bug?

**URL:** <https://forums.kodeco.com/t/macos-window-overlay-effect-bug/145412>\
**Category:** macOS\
**Created:** [August 2, 2021, 4:06pm UTC](https://forums.kodeco.com/t/macos-window-overlay-effect-bug/145412 "2021-08-02T16:06:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sammeyer3](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/sammeyer3/32/102075_2.png) [@sammeyer3](https://forums.kodeco.com/u/sammeyer3)\
**Post date:** [August 2, 2021, 4:06pm UTC](https://forums.kodeco.com/t/macos-window-overlay-effect-bug/145412/1 "2021-08-02T16:06:14Z")

</div>

Hi all, 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](https://files.chunter.kodeco.com/original/3X/c/7/c76d48cef8f921d06a5bef36da7fdaf2de001673.gif)

This works as expected, but I don’t want the the leading edge spacing. So I set the leading edge spacing to 0.  
 ![Reconfigure iM](https://files.chunter.kodeco.com/original/3X/b/4/b40f9dab633f23e66aaed2b1a123c6aef79201c8.gif)

And the blur effect goes away.  
 ![No Blur](https://files.chunter.kodeco.com/original/3X/3/6/360e4c870697c4d5d77798a92bf2d4af1883baca.gif)

Is this a bug or something I’m doing wrong?

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@system](https://forums.kodeco.com/u/system)\
**Post date:** [January 16, 2022, 8:06am UTC](https://forums.kodeco.com/t/macos-window-overlay-effect-bug/145412/2 "2022-01-16T08:06:19Z")

</div>

This topic was automatically closed after 166 days. New replies are no longer allowed.
