Yevhenii Nadtochii
02/23/2024, 7:45 PMModifier.blur()
, which is also not trivial.
Maybe something has changed and now it can be done simpler?Alexander Zhirkevich
02/23/2024, 8:03 PMrob42
02/23/2024, 8:10 PMrob42
02/23/2024, 8:12 PMrob42
02/23/2024, 8:18 PMrob42
02/23/2024, 8:19 PMYevhenii Nadtochii
02/23/2024, 8:41 PMrob42
02/23/2024, 8:45 PMKirill Grouchnikov
02/23/2024, 10:27 PMrob42
02/23/2024, 10:34 PMrob42
02/23/2024, 10:34 PMrob42
02/23/2024, 10:43 PMNSVisualEffectView
unfortunately, because applications are unable to see the pixels behind their window. If you try to capture a transparent window into a bitmap, you'll end up with a transparent bitmap, not a bitmap of what's behind the window.
It would be possible to create an NSVisualEffectView wrapper though, which adds JPanels as children of NSVisualEffectView so you get the right effect. Those panels could then be laid out in compose, but with the z-index caveats that come with that 🙂Marcin Wisniowski
02/29/2024, 12:14 PMrob42
02/29/2024, 6:36 PMrob42
02/29/2024, 6:40 PMrob42
02/29/2024, 6:45 PM