Favorited photos from albums are shown as favorited only after app restart or second attempt
When I open an album, open a photo from that album, and favorite a photo using the star button, the photo is not marked as favorite (it doesn't have a star icon) when I go back to the album view. Also, in the Favorites tab, it is not visible. When I open the photo again, the photo is not marked as favorite at all.
The workarounds are:
a) close and reopen gnome-photos
-or-
b) mark the photo as favorite once again
In both cases, the photo is then correctly marked as favorite.
Please note, this bug doesn't occur when you open the photo from the Photos view. It only occurs when you open the photo from a existing Album.
Reproducer:
- Open some album in Albums
- Open some photo
- Click the Star button
- Click the Back button
- See that the photo is NOT marked with a star
- Go to Favorite tab
- See that the photo is not there
- a) Restart gnome-photos, see that the photo IS now marked as favorite
-or-
b) Repeat steps 1-6 for a second time, see that now the photo IS marked as favorite
Screencast:
Versions:
Fedora 37 (pre-release)
gnome-photos-43.0-1.fc37.x86_64
tracker-3.4.0-1.fc37.x86_64
Edited by Kamil Páral