Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Which API level are you seeing the issue here with?
na...@google.com <na...@google.com> #3
My hunch is that this is related to DialogFragment
or ComponentDialog
adds a new Window
that the contained ComposeView
is not aware of.
ap...@google.com <ap...@google.com> #4
I've only tested this on API level 33 and 26 so far, and out of these two I'm seeing this only on 33
ju...@google.com <ju...@google.com> #5
Hello,
We're also experiencing this issue starting from compose 1.4.0-alpha03 and API level >= 30.
Attaching min repro project. Similar issue was filed in Aug 25, 2021 here
Description
Right now compose will automatically leverage an offscreen compositinglayer if the graphicsLayer has an alpha < 1.0f. However, configuring usage of an offscreen layer is useful in other circumstances such as blend mode usage.
Alternatively if a consumer of graphicsLayer has more information regarding the scene (ex if the content is overlapping or not) they should be able to skip offscreen compositing layer for alpha usage.