Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: animate lock screen wallpaper to home screen wallpaper doesn't work after opening a heavy app/games #202

Open
Bobbydew1 opened this issue Jul 15, 2024 · 5 comments

Comments

@Bobbydew1
Copy link

Bobbydew1 commented Jul 15, 2024

The animation transition to lock screen wallpaper to home screen wallpaper stop working after opening a heavy app/game

@Bobbydew1 Bobbydew1 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 15, 2024
@Bobbydew1 Bobbydew1 reopened this Jul 15, 2024
@cvzi
Copy link
Owner

cvzi commented Jul 16, 2024

I guess this is expected behavior. When the Android system asks the app to free up memory, then the wallpaper images are removed from memory. Loading the images again takes too much time and the animation is skipped.

Not sure what's a good solution to this. Obviously this could be solved by not removing the images from memory, but that could impact performance of heavy apps, since the images can be quite large depending on wallpaper size and screen size.

@Bobbydew1
Copy link
Author

I guess this is expected behavior. When the Android system asks the app to free up memory, then the wallpaper images are removed from memory. Loading the images again takes too much time and the animation is skipped.

Not sure what's a good solution to this. Obviously this could be solved by not removing the images from memory, but that could impact performance of heavy apps, since the images can be quite large depending on wallpaper size and screen size.

I mean smartphones nowadays have enough ram, and I'm not that worried about the performance of my phone, I'm just a casual user so yea🤷

@cvzi
Copy link
Owner

cvzi commented Jul 17, 2024

I guess I could add an option in the settings, that forces the lock screen image to be kept in memory

@Bobbydew1
Copy link
Author

I guess I could add an option in the settings, that forces the lock screen image to be kept in memory

Sounds like a very good idea

@cvzi
Copy link
Owner

cvzi commented Jul 24, 2024

I added the option.

Also I made some improvement to the memory management. The images should be kept a little bit longer in memory now, so possibly this option is not needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants