GNOME Bugzilla – Bug 785252
Flip between photos with swiping?
Last modified: 2017-10-17 09:29:13 UTC
Somewhat related to #783922 Currently you'll have to hit the little arrow in order to get to the next photo. It would be neat if it was possible to just swipe to it, like you can in GNOME Books, GNOME Documents, or the Photos app on Android.
The reason I didn't add the swiping is because it needs some GTK+ or widget hacking. Usually what people do is to detect the swipe gesture and switch the image. I'd rather have the content stick to the fingers and only trigger the switch once we have passed a threshold, like it happens on the phone. Otherwise it doesn't feel natural. If I am not mistaken, zooming (bug 783922) is easier because GtkGestureZoom keeps updating the zoom as you expand and contract your fingers. I am not sure if GtkGestureSwipe keeps emitting events as the finger moves, or whether it only does it once. Then we need a container (a hacked up GtkStack?) that will actually be able to show the image sticking to the finger.
*** This bug has been marked as a duplicate of bug 771704 ***
(In reply to Debarshi Ray from comment #1) > If I am not mistaken, zooming (bug 783922) is easier because GtkGestureZoom > keeps updating the zoom as you expand and contract your fingers. GtkGestureZoom is now supported in master (bug 783922).