Hamza417 / Peristyle

Simple wallpaper manager app for Android with awesome UI, tags and multiple folder support and a native live wallpaper picker.
Apache License 2.0
248 stars 6 forks source link

[Bug] Wrong Wallpaper Orientation #38

Closed microbearsmb closed 6 months ago

microbearsmb commented 6 months ago

First off, thank you so much @Hamza417 for this app!

I've had one problem that I can't seem to shake. It's fine when I do it manually, or enable wallpaper cropping, but when wallpapers are applied automatically as scrollable, most of my vertical aspect ratio wallpapers get turned sideways. Is this a user error on my end, or might this be a bug?

For reference, these photos are vertical by default - they appear correctly in another wallpaper app as well as in my gallery.

Hamza417 commented 6 months ago

Could be a bug or device specific issue, or in some cases the wallpaper appears to be stretched out or set weirdly when wallpaper is set while the device is in landscape orientation, e.g. auto wallpaper ran while you were watching a movie.

microbearsmb commented 6 months ago

Could be device specific, but all the testing I did was in portrait mode, so I don't think landscape mode was the problem. And the images aren't distorted, just sideways - the sky is on the left instead of the top.

Hamza417 commented 6 months ago

This seems like the EXIF data in the images are wrong or incorrect. Are these images manually captured and being used as a wallpaper?

microbearsmb commented 6 months ago

That's definitely possible. And yes, they are all from this devices OEM camera app

Hamza417 commented 6 months ago

I think I've fixed the issue, could you run the test and let me know before I publish the release?

app-prod-release.zip

microbearsmb commented 6 months ago

Bingo! Thank you so much!