After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 759960 - Only the last locally created photoset shows up in "Add to Set" dialog
Only the last locally created photoset shows up in "Add to Set" dialog
Status: RESOLVED FIXED
Product: frogr
Classification: Other
Component: general
master
Other Linux
: Normal normal
: ---
Assigned To: frogr maintainers
frogr maintainers
Depends on:
Blocks:
 
 
Reported: 2015-12-29 17:08 UTC by Mario Sánchez Prada
Modified: 2015-12-29 17:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mario Sánchez Prada 2015-12-29 17:08:27 UTC
I recently realized there was a stupid bug in the code that caused frogr only to display the last photoset among those created right from the app, which have not been really created in flickr yet (created locally, but no photo uploaded yet).

Seems that the problem is the comparison function in frogr-model.c, which was not considering the temporary IDs assigned locally. Also, that comparison function should probably move to FrogrPhotoSet, as the same logic is needed from other places (e.g. frogr-picture.c).
Comment 1 Mario Sánchez Prada 2015-12-29 17:14:42 UTC
This problem has been fixed in the unstable development version:
https://git.gnome.org/browse/frogr/commit/?id=c86576e21a9bebbbac34adec53a27c3fcbcc9a55

The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.