You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am seeing an issue with AsyncImage inside a Compose LazyRow.
I display a list of filter previews. Each item loads the same local image file, but with a different custom Transformation. While scrolling, some requests enter a Cancelled state. Cancellation itself is
expected when items leave the viewport, but in some cases the item is not recomposed / the request is not restarted when it becomes visible again.
As a result, the corresponding preview stays empty instead of rendering the image.
This happens intermittently during scroll events, especially when scrolling back and forth quickly through the filter list.
What I expect:
An off-screen request may be cancelled
When the item becomes visible again, the request should restart and the image should be rendered
What I observe:
Some items reach a Cancelled state
When they become visible again, they sometimes stay empty permanently
Describe the bug
I am seeing an issue with
AsyncImageinside a ComposeLazyRow.I display a list of filter previews. Each item loads the same local image file, but with a different custom
Transformation. While scrolling, some requests enter aCancelledstate. Cancellation itself isexpected when items leave the viewport, but in some cases the item is not recomposed / the request is not restarted when it becomes visible again.
As a result, the corresponding preview stays empty instead of rendering the image.
This happens intermittently during scroll events, especially when scrolling back and forth quickly through the filter list.
What I expect:
What I observe:
CancelledstateTo Reproduce
See attached video, code is accessible here: https://github.com/P-Emmy/testCoil
CanceledImageNotReload.mp4
Version
Coil version: 3.2.0 (and 3.1.0)