How to achieve window blur like shown in the image...
# compose-desktop
p
How to achieve window blur like shown in the image?
a
This is called Acrylic effect and is Windows-only. Found this by a quick search.
g
I doubt that it ever be an official API for this, too platform and OS version specific Looks like a good case for library
o
iirc @Kirill Grouchnikov did effects like that for his Aurora component library
z
Also, if it’s blurring content from other windows, it’s going to be a window manager/compositor feature, not one of the UI toolkit used by any particular app. So even on Windows, for CfD to support this AWT would probably have to support the right flags as well.
☝️ 2
k
In Aurora I do have some Skia-based effects, but that does not look at the content of the underlying windows / desktop wallpaper.
p
@Kirill Grouchnikov I read your blog on using shaders with Compose and tried it but I couldn't see any effect. I am not into graphics stuff, so it's maybe my lack of knowledge.
k
Shaders will not give you what you want. It needs integration with platform specific APIs.
☝️ 1
👍 1
j
I was trying to achieve this a lot but failed multiple times. The main problem is that AWT does not support this by design (having acrylic background AND decorated window)