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
{{ message }}
Repository navigation
[BUG] Some images previews are visible on web interface and not on Android app #4443
Installed and uninstalled the app many times. First time it runs all of the images have their preview (folder with more than 2000 images but it happens regardless of the number of images stored in a folder). After the 2nd time I run owncloud app some previews are not visible anymore. If I actually open one of that images without the preview, the preview will "stick" and will not disappear anymore. Each and every time I close and reopen the app, previews are randomly visible or not visible.
Expected behaviour
All images previews should be always visible in each and every folder, every time I run the app.
Steps to reproduce
Instal the app, run it first time, open a folder, previews are all there
Re-run the app -> not all of the previews are visible anymore
If I open the web interface images previews are all there, so I guess it is an app bug
changed the title [-][BUG] Same image previews are visible on web interface and not on Android app[/-][+][BUG] Some images previews are visible on web interface and not on Android app[/+]on Jul 20, 2024
previews means thumbnails, right? the little image on the left. On my side, i can not reproduce it, thumbnails are there. That images are generated in the server and retrieved from there, so, there is also some dependency on that side. Will take a look again anyway.
If you can provide logs, or also, a test account in your server (we'd tell you how to give that information in a secure way), it could be helpful for dev team.
Yep, I meant thumbnails. The same goes for video, pdf, txt etc etc. I have the same behaviour also on a tablet of mine, total erratic behaviour, sometime thumbnails appear sometime not. On the web interface (I tested also the very beautiful "web app") no problems at all, both on desktop and mobile browser. I could provide for sure a test account if you need it, just let me know, thanks.
In case of the Android app, only the thumbnails that server retrieves are shown in the app: images and txt files. PDFs and other formats lack of server generated thumbnails. Don't compare with desktop client because are pretty different scopes and work in a different way. I will provide you a place where you can push the info. Thanks a lot!
In case of the Android app, only the thumbnails that server retrieves are shown in the app: images and txt files. PDFs and other formats lack of server generated thumbnails. Don't compare with desktop client because are pretty different scopes and work in a different way. I will provide you a place where you can push the info. Thanks a lot!
Ok, at least I know there is no problem with PDFs and other formats. Nevertheless images thumbnails are not working as intended. Please have a look at attached screenshots.
I have the same issue, and can't see anything in the log. It has persisted across multiple versions of the android app. Is this the same as #3525 ?
@benedictgoodman it is exactly the same. I made some tests, deleted a folder with issues and shared again and the problem disappeared. So I guess that bug is still there. Actually images preview from Android is unusable, I can't believe it is a rare thing, I have the same behaviour on another android tablet as well.
I have the same issue, and can't see anything in the log. It has persisted across multiple versions of the android app. Is this the same as #3525 ?
i don't think so. In that issue, problem happens only in grid view, now you reported the problem in list view, right? Checked again, i see all thumbnails in two different servers/devices. We can not control every single server (don't forget, server is who generates the thumbnails, not the mobile device), for that reason we'd need extra info about the problem in logs, or in a test account.
I have the same issue, and can't see anything in the log. It has persisted across multiple versions of the android app. Is this the same as #3525 ?
i don't think so. In that issue, problem happens only in grid view, now you reported the problem in list view, right? Checked again, i see all thumbnails in two different servers/devices. We can not control every single server (don't forget, server is who generates the thumbnails, not the mobile device), for that reason we'd need extra info about the problem in logs, or in a test account.
How can I give a temp account detail to you in a private fashion?
@julienn25 the versione with dyncache seems not working at all, not a single thumbnails appears. Now giving a try with 2GB version, it started loading thumbnails as expected
weirdly it worked on my phone, I will let it to someone else to create a dynamic cache, at least we both got a working app for now, do you have any update on the 2 gb version?
weirdly it worked on my phone, I will let it to someone else to create a dynamic cache, at least we both got a working app for now, do you have any update on the 2 gb version?
Don't know, I have a Honor Magic V2 with Android 15.
Regarding the 2Gb version so far so good, I'll open all of the folders to see what happens
@julienn25 just to say that the 2GB version has been working well since 2 weeks now. Did you made any modification to the dynamic cache version? Thanks
@Anycubic nice!, I tried it for a while and it seemed to work, didnt do any deeper check of logs/error messages. For now im running the 2GB version as it has been stable with no issues regarding thumbnails.
Hi everyone! Thanks a lot for your community work! 💯 @julienn25 could you share all the changes you included in the dynamic cache version? 😄 We'd like to check if it's a feasible and potential fix... You can chat with us directly in talk.owncloud.com or open a new PR with those changes! Thanks!
@Anycubic nice!, I tried it for a while and it seemed to work, didnt do any deeper check of logs/error messages. For now im running the 2GB version as it has been stable with no issues regarding thumbnails.
@julienn25 unfortunately the 2GB stopped working after a while, always with same issue. I really hope that a fixed official version will surface sooner or later. BTW I"m will to try any beta version.
Thanks for you work!
(Both verified on current master.) At ~6–30 KB per thumbnail that holds only ~500–700 entries; once full, Coil's LRU evicts older ones. That matches every report here: previews load on first visit, then "randomly" vanish when you revisit a folder (they were evicted), web is unaffected (server still has them), and @julienn25's 600 MB / 2 GB rebuilds restore the behavior. Not server-side, not format-specific.
Two distinct problems:
Cache too small. 10 MB is unrealistic for photo libraries. Raising it (or sizing it dynamically against free storage) fixes the eviction. A hard 2 GB cap can still overflow very large libraries (@Anycubic, ~24k images) — dynamic sizing is the more robust route.
No re-fetch after eviction. Once a thumbnail is evicted it isn't re-requested from the server on the next folder visit, so the cell stays blank. This needs fixing alongside (1), else a bounded cache always leaves stale gaps.
@julienn25 a PR with the dynamic-cache changes (per @joragua's request) would be the fastest path — the maintainers can iterate on sizing strategy from there.
Activity
[-][BUG] Same image previews are visible on web interface and not on Android app[/-][+][BUG] Some images previews are visible on web interface and not on Android app[/+]jesmrec commentedon Jul 22, 2024
previews means thumbnails, right? the little image on the left. On my side, i can not reproduce it, thumbnails are there. That images are generated in the server and retrieved from there, so, there is also some dependency on that side. Will take a look again anyway.
If you can provide logs, or also, a test account in your server (we'd tell you how to give that information in a secure way), it could be helpful for dev team.
Anycubic commentedon Jul 22, 2024
Yep, I meant thumbnails. The same goes for video, pdf, txt etc etc. I have the same behaviour also on a tablet of mine, total erratic behaviour, sometime thumbnails appear sometime not. On the web interface (I tested also the very beautiful "web app") no problems at all, both on desktop and mobile browser. I could provide for sure a test account if you need it, just let me know, thanks.
jesmrec commentedon Jul 22, 2024
In case of the Android app, only the thumbnails that server retrieves are shown in the app: images and txt files. PDFs and other formats lack of server generated thumbnails. Don't compare with desktop client because are pretty different scopes and work in a different way. I will provide you a place where you can push the info. Thanks a lot!
Anycubic commentedon Jul 22, 2024
Ok, at least I know there is no problem with PDFs and other formats. Nevertheless images thumbnails are not working as intended. Please have a look at attached screenshots.


jesmrec commentedon Jul 22, 2024
https://infinite.owncloud.com/s/nYSfrsmANDXWKzJ
Pwd: aa55AA..
There, you can upload any file with information about your test server. We strongly appreciate your feedback.
Anycubic commentedon Jul 22, 2024
Ok. What do you need? Logs with a certain details of logging? I can't seen any error at "error" log level.
jesmrec commentedon Jul 23, 2024
it's enough with information about a test server. Logs could help as well.
benedictgoodman commentedon Aug 2, 2024
I have the same issue, and can't see anything in the log. It has persisted across multiple versions of the android app. Is this the same as #3525 ?
Anycubic commentedon Aug 2, 2024
@benedictgoodman it is exactly the same. I made some tests, deleted a folder with issues and shared again and the problem disappeared. So I guess that bug is still there. Actually images preview from Android is unusable, I can't believe it is a rare thing, I have the same behaviour on another android tablet as well.
jesmrec commentedon Aug 5, 2024
i don't think so. In that issue, problem happens only in grid view, now you reported the problem in list view, right? Checked again, i see all thumbnails in two different servers/devices. We can not control every single server (don't forget, server is who generates the thumbnails, not the mobile device), for that reason we'd need extra info about the problem in logs, or in a test account.
Anycubic commentedon Aug 8, 2024
How can I give a temp account detail to you in a private fashion?
jesmrec commentedon Aug 8, 2024
#4443 (comment)
Anycubic commentedon Aug 8, 2024
Did it
jesmrec commentedon Aug 8, 2024
Thanks @Anycubic but i only see credentials without a server URL to attach them to.
24 remaining items
Anycubic commentedon May 3, 2025
@julienn25 the versione with dyncache seems not working at all, not a single thumbnails appears. Now giving a try with 2GB version, it started loading thumbnails as expected
julienn25 commentedon May 3, 2025
weirdly it worked on my phone, I will let it to someone else to create a dynamic cache, at least we both got a working app for now, do you have any update on the 2 gb version?
Anycubic commentedon May 3, 2025
Don't know, I have a Honor Magic V2 with Android 15.
Regarding the 2Gb version so far so good, I'll open all of the folders to see what happens
jesmrec commentedon May 5, 2025
Great community work!! we will take a look as well as soon as we can.
Anycubic commentedon May 14, 2025
@julienn25 just to say that the 2GB version has been working well since 2 weeks now. Did you made any modification to the dynamic cache version? Thanks
julienn25 commentedon May 15, 2025
@Anycubic nice!, I tried it for a while and it seemed to work, didnt do any deeper check of logs/error messages. For now im running the 2GB version as it has been stable with no issues regarding thumbnails.
joragua commentedon Jun 18, 2025
Hi everyone! Thanks a lot for your community work! 💯 @julienn25 could you share all the changes you included in the dynamic cache version? 😄 We'd like to check if it's a feasible and potential fix... You can chat with us directly in talk.owncloud.com or open a new PR with those changes! Thanks!
Anycubic commentedon Jun 18, 2025
@julienn25 unfortunately the 2GB stopped working after a while, always with same issue. I really hope that a fixed official version will surface sooner or later. BTW I"m will to try any beta version.
Thanks for you work!
DeepDiver1975 commentedon Jun 30, 2026
Confirmed bug, root cause located. The thumbnail disk cache is capped at 10 MB:
presentation/thumbnails/ThumbnailsRequester.kt:57—DISK_CACHE_SIZE: Long = 1024 * 1024 * 10→ CoilDiskCache.maxSizeBytes(line 82)datamodel/ThumbnailsCacheManager.java—DISK_CACHE_SIZE = 1024 * 1024 * 10(Both verified on current
master.) At ~6–30 KB per thumbnail that holds only ~500–700 entries; once full, Coil's LRU evicts older ones. That matches every report here: previews load on first visit, then "randomly" vanish when you revisit a folder (they were evicted), web is unaffected (server still has them), and @julienn25's 600 MB / 2 GB rebuilds restore the behavior. Not server-side, not format-specific.Two distinct problems:
@julienn25 a PR with the dynamic-cache changes (per @joragua's request) would be the fastest path — the maintainers can iterate on sizing strategy from there.
🤖 Generated with Claude Code