Closed Meteor0id closed 2 months ago
@Aga-C updated It was a copy paste text from the old repo where users got sold out. New file, yes the bug is still present in current public release
Please fill Affected device model
because it is relevant. I've just tested on two different devices (image downloaded from ZIP) and have no problem, thumbnail is generated and displayed correctly.
@Aga-C updated, moto g7. Can't see an obvious reason why my device is affected anything I could check?
@naveensingh Do you have any idea what more information we may need?
Settings
Color sceme looks like old app but was imported
Only the preview wont load, if I tap on it the full screen inage does show
its jpg, not crazy big (10MB), resolution is little bit bigger, but still in the norm 2k/4k
@naveensingh Do you have any idea what more information we may need?
Maybe. @Meteor0id are you familiar with Android Studio or adb logcat
? Can you get some logs for us? Glide often dumps useful info into the logs.
I have one Motorola phone with similar specs, I'll try to reproduce this. I think I might have seen this bug before on an emulator.
@Meteor0id Do thumbnails work correctly when you turn off Animate GIFs at thumbnails
?
Possibly related: https://www.reddit.com/r/Fossify/comments/1b43ifl/gallery_many_gif_thumbnails_missing/
I was gonna create a separate issue but this one might suffice.
@Aga-C yes turning that off kakes them appear. You are onto something
It seems to be only related to this setting, not to the device as I previously thought. Also, thumbnails for AVIF files doesn't work with this option turned on.
In code, I see that problem is with the line options.dontAnimate()
in Context.loadImageBase
. For some reason, it breaks both AVIF files and this JPEG.
I can also reproduce this now. Both with AVIF and the JPG provided above. I'll investigate this later today.
Thanks, Agni!
I've found out what's wrong with JPEG posted here. In fact, the file doesn't contain JPEG data but PNG data. For some reason, dontAnimate
doesn't handle the case of wrong file extension.
Hmmm.
Should be fixed in https://github.com/FossifyOrg/Gallery/releases/tag/1.1.3
Checklist
Affected app version
1.1.1
Affected Android/Custom ROM version
android 10
Affected device model
Motorola moto g7 plus (nearly stock android)
How did you install the app?
None
Steps to reproduce the bug
Hi, I noticed some previews aren't rendering for all types of media (videos, gifs, movie). Clearing cache made no difference. These media can still be viewed properly by tapping and opening single view mode. I have attached one of the images for which the app fails to show a preview in folder view.
Hope this helps.
Expected behavior
Thumbnails render while scrolling the gallery
Actual behavior
Thumbnails never shows up
Screenshots/Screen recordings
Here is the file itself
And zipped to preserve properties RDT_20240217_1337493113863773608935546.zip
Additional information
No response