ammargitham / WallFlow

Wallpaper app for Android using Jetpack Compose
GNU General Public License v3.0
325 stars 18 forks source link

Auto wallpaper bug #52

Closed beast-14 closed 5 months ago

beast-14 commented 8 months ago

I am trying to change my auto wallpaper but some wallpapers are applying like this I am sending the SS

Screenshot_20231226-175304_crDroid Home.png

Screenshot_20231226-175300_WallFlow Plus.png

beast-14 commented 8 months ago

I tried everything in my knowledge.. tell me if I am doing something wrong

ammargitham commented 8 months ago

Did you disable crop for auto wallpaper? What happens if you manually apply the same wallpaper?

beast-14 commented 8 months ago

Did you disable crop for auto wallpaper? What happens if you manually apply the same wallpaper?

Yes I tried disabling crop but it's still there and about applying manually it works alright This bug is only happening in automatic changer

ammargitham commented 8 months ago

Yes I tried disabling crop but it's still there

I'm wondering if you disabled the crop option in the auto wallpaper settings. This could be the result of that. Is the below option enabled or disabled? Screenshot_20231226_220042

beast-14 commented 8 months ago

Yes I tried disabling crop but it's still there

I'm wondering if you disabled the crop option in the auto wallpaper settings. This could be the result of that. Is the below option enabled or disabled? Screenshot_20231226_220042

Sir it's disabled Screenshot_20231226-183359_WallFlow Plus.png

ammargitham commented 8 months ago

Got it. Thanks. Can you provide me the source url of the image? You can find it in the info sheet. Keep the crop on until I fix it.

beast-14 commented 8 months ago

Got it. Thanks. Can you provide me the source url of the image? You can find it in the info sheet. Keep the crop on until I fix it.

Sir it's from local storage, as I have a complete collection of wallpaper offline and I wanted that to change automatically according to my preferences.

ammargitham commented 8 months ago

it's from local storage

Can you upload the image here? It will be helpful for my testing.

beast-14 commented 8 months ago

it's from local storage

Can you upload the image here? It will be helpful for my testing.

Yes sir, here it is

amw_prime (5).jpg

beast-14 commented 8 months ago

And thank you very much 😊

KAGEYAM4 commented 8 months ago

Could it be Object Detection at fault?

beast-14 commented 8 months ago

Could it be Object Detection at fault?

Tried disabling it and also tried the apk without object detection (not plus) the problem was still there

KAGEYAM4 commented 8 months ago

i just tested it, same thing on my end too

ammargitham commented 8 months ago

Fetching local image resolution using Exif data was not working for this image, and maybe other local images too. This was causing incorrect cropping and wallpaper setting. So I changed how the resolution is fetched. This may lead to a bit slower listing of the images in the 'Local' tab but at-least the resolution will be correct.

ammargitham commented 8 months ago

Fixed in v.2.3.1

beast-14 commented 8 months ago

Fixed in v.2.3.1

Bro .. I was using my phone and according to timer wallpaper changed.. but somehow the issue came again and I tried to put that specific picture in a different folder and changed it via toggle but issue was not there Though I have no problem clicking the toggle but I am just letting you know

ammargitham commented 8 months ago

Ok, will try to debug it. Are you sure it was the same bug with the same photo?

beast-14 commented 8 months ago

Ok, will try to debug it. Are you sure it was the same bug with the same photo?

Not with the same photo but with these 2 photos amw_prime (65).jpg

amw_prime (80).jpg

I don't actually know what happened I was watching video and the app changed wallpaper in the background and it was buggy but when I put these 2 photos in different folder and waited for timer to change it automatically it was ok no problem.. then I checked using toggle and quick settings tile too .. no problem again .. could it be that I updated the app instead of reinstalling it .. but after that I didn't get any buggy wallpaper so I guess that's a win ☺️

ammargitham commented 8 months ago

Updating should not matter. Did you perhaps favorited any of these wallpapers and use favorites in your auto wallpaper?

beast-14 commented 8 months ago

Updating should not matter. Did you perhaps favorited any of these wallpapers and use favorites in your auto wallpaper?

No I did not try that actually Should I ?

ammargitham commented 8 months ago

No I did not try that actually Should I ?

No need. If it's working fine now then no problem. I will close this issue for now. If you face this issue again, feel free to reopen it.

beast-14 commented 8 months ago

No I did not try that actually Should I ?

No need. If it's working fine now then no problem. I will close this issue for now. If you face this issue again, feel free to reopen it.

Yaa sure ☺️

beast-14 commented 8 months ago

No I did not try that actually Should I ?

No need. If it's working fine now then no problem. I will close this issue for now. If you face this issue again, feel free to reopen it.

Bro I got it .. it happens when the phone is in landscape mode .. You can test it too While watching videos or while doing anything on landscape mode

ammargitham commented 8 months ago

Got it. Will try to delay setting the wallpaper when the phone is not in its default orientation.