GNOME Bugzilla – Bug 734816
Navigation problem in viewer after save a photo
Last modified: 2017-03-04 07:20:09 UTC
Navigation in photos has problem after edit and save a photo. Steps to reproduce: - open an image - edit (e.g. crop) - press right and when asked saving dialog, save the image - return to image edited pressing left arrow - now pressing another time left: nothing happens.
Issue is that the viewer gets stuck because for some reason the previous photo is the current one
Problem is that save() in DirectPhotoPage unconditionally adds the photo to the dataview. For a save operation this is duplicating the photo in the view, causing display issues on crop and the navigation problem. It should only add the photo if it didn't previously exist in the collection
Created attachment 347189 [details] [review] viewer: Don't always add photo again after saving This seems to cause the photo being in the collection twice, causing not being able to navigate to the previous photo anymore Just do it when the photo we save isn't the current photo. Signed-off-by: Jens Georg <mail@jensge.org>
Created attachment 347190 [details] [review] viewer: Don't always add photo again after saving This seems to cause the photo being in the collection twice, causing not being able to navigate to the previous photo anymore Just do it when the photo we save isn't the current photo. Signed-off-by: Jens Georg <mail@jensge.org>
Attachment 347190 [details] pushed as 83aa387 - viewer: Don't always add photo again after saving