Touchscreen Gestures Not Working As Expected
Description:
In the latest commit (e6f80144), I've noticed some issues with the touchscreen gestures. Importantly, these issues are only present when using the touchscreen, not the touchpad. The issues are:
- The 'next/previous image' feature is inconsistent with the expected behavior. I should be able to use two fingers to scroll to the next/previous image, regardless of the zoom state. However, in the current commit, if I have not zoomed in the image, I need to use a single finger scroll to go to the next/previous image, and a two-finger scroll is recognized as zoom in/out. If I have zoomed in the image, a two-finger scroll goes to the next/previous image as expected.
- Once I've zoomed in on an image, I can't zoom out.
- The 'rotate clockwise/counterclockwise' feature doesn't work at all.
Reverting to a previous commit (d2a05db4) solves the issues with 'zoom in/out' and 'rotate clockwise/counterclockwise', but the 'next/previous image' issue persists.
I'm using Fedora 38 (Gnome&KDE) on Wayland.
Steps to reproduce:
- Try to use a two-finger scroll to go to next/previous image.
- Try to zoom in on an image, then zoom out.
- Attempt to rotate an image clockwise or counterclockwise.
Expected behavior:
- A two-finger scroll should navigate to the next or previous image, regardless of the zoom state.
- Once zoomed in, it should be possible to zoom out.
- It should be possible to rotate the image clockwise or counterclockwise.
Actual behavior:
- In non-zoomed state, a single finger scroll navigates to the next/previous image and a two-finger scroll is recognized as zoom in/out. In zoomed state, a two-finger scroll navigates to the next/previous image as expected.
- Can't zoom out once zoomed in.
- 'Rotate clockwise/counterclockwise' feature doesn't work.
Thank you for your work on this beautiful application and for taking the time to look into this issue.
Edited by Brady Zhao