GNOME Bugzilla – Bug 793818
pressing 'Del' once deletes more than one picture
Last modified: 2018-03-13 19:52:48 UTC
I've now repeatedly observed that pressing the 'Del' key on a picture within an event moves more pictures than the selected one into the Trash. (They're all sitting in Trash and can be Restored, but this is quite disrupting to the workflow.)
Tried a couple more times: two pictures are actually moved to trash every time I press 'Del'. This happens in overview mode; when the picture is fullscreen and I press 'Del', only the current picture gets deleted. I'm using current git master/HEAD.
Seems to be specifically to using the key. Works as expected when using the context menu
Created attachment 368953 [details] [review] Set restore point after trashing photo Setting the restore point will add the restore point to the selection, thus effectively removing it as well.
Unfortunately, that would be undoing the fix for bug 786531
Created attachment 368957 [details] [review] Save selection before setting the restore point With the fix for bug 786531, setting the restore point before executing the job would add the restore point to the list of selected items.
(In reply to Jens Georg from comment #5) > Created attachment 368957 [details] [review] [review] > Save selection before setting the restore point Works for me.
Yeah. The "proper" fix would be holding a reference to "this" while doing the move transaction and reverting the fix for bug 786531. But doing manual references in Vala usually points to something being very wrong
Attachment 368957 [details] pushed as d5aa2a2 - Save selection before setting the restore point
*** Bug 794305 has been marked as a duplicate of this bug. ***