GNOME Bugzilla – Bug 732964
crash after deleting opened photo
Last modified: 2014-07-24 21:02:54 UTC
reproduce: 1. Select a photo. 2. Press enter to switch the view to the selected photo. 3. Press shift-delete, then right arrow, then enter, to delete without moving to trash. 4. Press left arrow. 5. Repeat step 3. The result is a crash caused by an assert failure when shotwell tries to delete the photo a second time.
Created attachment 280298 [details] [review] Proposed patch. I'm not 100% sure that this is the right thing to do, but it fixes the crash.
Review of attachment 280298 [details] [review]: This prevents the crash but doesn't really address the problem, which is that the removed photo has remained in the photo viewer's collection. That's the real fix to this problem. This patch sends the user back to the library when deleting a photo, which is not the experience we want.
Created attachment 281437 [details] [review] Proposed patch to remove deleted photos from the collection. Thanks. Attaching a new patch.
Much better. Thanks! Pushed to master, commit 3c8ac3