Edited images don't get refreshed until you force close Aves
Describe the bug If you go to any image and choose to Edit it (via some external app in my case), after saving the image, you go back to the aves gallery and it still shows the old image. There is no refresh button, and no matter what you do, how you navigate, if you go out of the album and back in etc, nothing refreshes it until you force close the app. However, check step 6. below.
To Reproduce
- Open Aves
- Open any image in your timeline
- Edit the image (three dots -> Edit) (in my case via Google Markup)
- Save the image, get back into Aves
- The image displayed is still the old one, no matter what you do.
- If you then go back out of image view (back to the grid view), and then open the image again, it's still the old image, but if you zoom in the image a bit, the image IS UPDATED, and then if you zoom out again, the image reverts to what it was before the edit. So actually it's an issue with the cached preview somehow. (if you zoom before you back out to the grid view first, it doesn't work, keeps showing the old one)
Expected behavior Maybe have a Swipe or press a button to refresh the image, or mark the image as dirty when you press Edit, to auto refresh it once we get back from edit.
But the image actually refreshes / gets the refresh event after you back out to the gallery grid (see point 6.) but it's bugged and doesn't display it.
I don't have the exact same problem but I do have a refresh problem too.
On the Collections section, images refresh normally after any changes.
But on the Albums section, it doesn't update/refresh at all after edits/changes.
But, this behavior is only observed on my Vivo phone with lots of RAM (16GB), and NOT on my Lenovo tablet with 4GB RAM.
- open Aves to Albums view.
- Sort Albums by Date with Newest first. Let's say the first album is "Screenshot".
- Take a photo with camera. Now the "Camera" album should be on top as the first album.
- Return to Aves Albums view, "Screenshot" album is still on top instead of the "Camera".
There seems to be a cache problem.
It can be worked around with by selecting Collections views then return to Albums view, then it will refresh.
But I think it's better to add a "refresh" button to the UI on top when clicked it does a force refresh of the current view.
@muchqs please do not report multiple issues in one thread. Open another issue instead.
I made a couple recordings of my issue. For some reason I couldn't reproduce the zoom-in scenario I described originally. However you can see it happening when Rotating. Even Rotating, going back, opening the image again, and then rotating back, and it reverts to pre-edit.
This also happens when you crop the image instead of drawing on it.
I'm using a Pixel phone, a couple years old. Android 15. The pictures are taken with the camera. (2-3 MB, ~3k x ~4k pixels)
https://github.com/user-attachments/assets/ed7ad873-7b30-416b-9783-cc6370ea5b7b
https://github.com/user-attachments/assets/5e6ecb5b-4791-4944-b8ec-710170aa0316
Thanks for the recording. It looks like the cache still holds the old version, so it shows the old version unless it's a different orientation or sampling level. The app should clear the cache for this image when it gets modified. I'll look into it.
I've got this same issue and it's quite annoying. I generally only crop images when editing and don't really edit in other ways. But whenever I finish cropping it will show the original image but squashed in the dimensions of the crop.
https://github.com/user-attachments/assets/d2a38264-48f6-4848-9968-847489ac2778