Some thumbnails won't load
Despite a high enough file size setting, some thumbnails will not load. It's often different thumbnails that don't load, and sometimes they load and sometimes they don't.
Yes if you have large files and not enough memory, it will throw an OutOfMemoryError exception and won't load the thumbnail. I'm still looking for a better way to display thumbnails, without having to load the entire file into memory.
Are you sure? This also happens with small files.
Hardcore Sushi @.***> schrieb am Sa., 7. Mai 2022, 12:32:
Yes if you have large files and not enough memory, it will throw an OutOfMemoryError exception and won't load the thumbnail. I'm still looking for a better way to display thumbnails, without having to load the entire file into memory.
— Reply to this email directly, view it on GitHub https://github.com/hardcore-sushi/DroidFS/issues/130#issuecomment-1120183544, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVGKFXT4BW6PRL75N6WX2NDVIZBC3ANCNFSM5VFMW4OA . You are receiving this because you authored the thread.Message ID: @.***>
I only have this bug with large files. What do you mean by "small" files? It may also be due to the format of your files that Glide cannot get a thumbnail for.
For example 2MB. The thumbnails sometimes load and sometimes don't, at the same file.
Hardcore Sushi @.***> schrieb am Sa., 7. Mai 2022, 15:09:
I only have this bug with large files. What do you mean by "small" files? It may also be due to the format of your files that Glide cannot get a thumbnail for.
— Reply to this email directly, view it on GitHub https://github.com/hardcore-sushi/DroidFS/issues/130#issuecomment-1120207052, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVGKFXWC52DSBL26EIYKDQDVIZTPHANCNFSM5VFMW4OA . You are receiving this because you authored the thread.Message ID: @.***>
OK that's strange. Do you get any warnings or errors in logcat?
I only see that.
--------- beginning of crash --------- beginning of system --------- beginning of main
Hardcore Sushi @.***> schrieb am Sa., 7. Mai 2022, 15:12:
OK that's strange. Do you get any warnings or errors in logcat?
— Reply to this email directly, view it on GitHub https://github.com/hardcore-sushi/DroidFS/issues/130#issuecomment-1120207654, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVGKFXQR5AB2XFSAFCHSZJLVIZT37ANCNFSM5VFMW4OA . You are receiving this because you authored the thread.Message ID: @.***>
I would recommend a warning be displayed when changing the max thumbnail file size. I was unaware that trying to load a thumbnail for large files would cause the app to become no responsive.
I belive this is related to #219 and should be fixed in v2.1.0.
@hardcore-sushi I noticed that if I mark all files and release them again, missing thumbnails are loaded. Sometimes I have to do this several times, but it works. Maybe this information will be of use to you.