So this is a weird issue.
Some information: There are several ways to scroll an image in the image viewer, one can use two fingers and do the pinch zoom, but you can also do a tap and hold on the image and then slide your finger up and down. Sliding your finger up zooms out and sliding it down zooms in.
Using this tap and hold style zoom sometimes leads to the image being "inverted", it is actually a point reflection. For this I need to fling my finger up quite fast, please have a look at the video.
Actual result: The image is point reflected
Expected result: The image should not be point reflected and zoomed out maximally.
VIDEO: https://ptpb.pw/ZGjw.mp4
Device: Sony Xperia Z5 Compact (E5823)
Android version: 7.1.1
Signal version: 4.23.4
(also happens on Redmi 4, Android version 6.0.1, same Signal version)
https://debuglogs.org/5174ee67b7a4723a93a56a6571b92370f30820511b1d93930043416af2597afd
Ahhh yeah that's kind of funny. Also, just for clarification, I believe the "one finger zoom" mode is activated after a double-tap, not a long-press.
Yeah, a double tap, but the second tap is really a long press.
This seems to be a known issue with PhotoView or the Android framework.
https://github.com/chrisbanes/PhotoView/issues/434
https://github.com/chrisbanes/PhotoView/issues/526
@He-Ro @greyson-signal @FeuRenard here is the pull request with the solution
Most helpful comment
This seems to be a known issue with
PhotoViewor the Android framework.https://github.com/chrisbanes/PhotoView/issues/434
https://github.com/chrisbanes/PhotoView/issues/526