GNOME Bugzilla – Bug 772341
Touch gestures for next and previous picture not working
Last modified: 2021-06-19 08:47:42 UTC
The help for shortcuts shows that you can use a two-finger swipe to go to the next/previous picture in the current folder. This seems to be broken for me, I can't get it working. Note that pinching and rotating gestures work fine for me with touchscreen and touchpad, but the prev/next gesture doesn't work with either of them. This is with a gnome-shell wayland session. The kernel module for the touch screen is hid_multitouch. eog-3.20.4-1.fc25.x86_64 kernel-4.8.0-0.rc8.git0.1.fc25.x86_64
Hmm, there seems to be a mismatch between the "Keyboard shortcuts" dialog and the implemented behavior. It is 1 finger horizontal swipes what switch to next/prev image. I guess one of both should be changed, I wonder which? I'll happily provide a patch for either.
It's likely a bug in the shortcuts window then, assuming the one finger gesture works.
From my testing it does (running eog 3.20 and gtk 3.22.x), although I see issues after triggering DnD through touch (vertical 1fg swipes still allow that) seems to leave that touchpoint stale, so future 1fg ops trigger 2fg gestures. At first I don't think the issue is in eog though, more probably gtk+, I'll investigate that further and file bugs/patches as appropriate.
Interestingly GtkShortcutsWindow doesn't know one-fingered swipe gestures, nor is there an icon for that. So, there's no sensible way to fix the shortcut window right now. But, is it now a limitation of the shortcut window or is the gesture buggy due to triggering on one finger?
Oh right, that is a bug in the shortcuts window. GtkGesture is able of single and multifinger gestures, the single-touchness here was pretty much a conscious decision. (besides, I don't find myself agreeing much with 2-fg pan/swipe gestures, those give the false impression that they may work with touchpads, while those most usually just emit scroll events on 2fg input)
I made a gtk+ bug: bug 772770
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/eog/-/issues/ Thank you for your understanding and your help.