-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coil returned an image that is missing from its disk cache #106
Comments
Hmm it's weird that coil is returning a null entry from its disk cache despite reporting a non-null disk cache key. telephoto/zoomable-image/coil/src/main/kotlin/me/saket/telephoto/zoomable/coil/CoilImageSource.kt Lines 181 to 189 in dd794df
@latsson Are there any other useful breadcrumbs left by your error reporting service? |
@colinrtwhite are there any other edge cases related to disk caching that I might be missing? This is probably another example of why I wish Coil had a public API for downloading images to disk. |
Sadly nothing other of interest 😐 It's just twice as common as the other 2 I wrote about. |
@saket I think there's a couple potential cases where
I think what Telefoto is looking for is an atomic API that writes the image data to disk then immediately opens a Could you open a feature request on Coil's tracker so we can track? 🙏🏻 |
Done, thank you! coil-kt/coil#2630 |
Any update on this, or new ideas on how to address it? We recently added telephoto to our app, and I haven't been able to reproduce the crash but we are seeing it a lot in our logs. |
Nothing yet. I'm thinking of handling this by suppressing the error and displaying a smaller, non sub-sampled image instead. Your users won't see full resolution copies of their images, but I suppose this is a good enough compromise? |
Hey!
Thanks for a really nice library. This is the only one I found in Compose that keeps the quality of the image while zooming.
When rolling this out in a large app we have noticed a bunch of crashes. This seems to happen for all devices on all OS versions. No idea how to reproduce it though.
My code (inside a HorizontalPager)
Version used:
telephotoZoomableImageCoil = { module = "me.saket.telephoto:zoomable-image-coil", version = "0.13.0" }
The text was updated successfully, but these errors were encountered: