immich icon indicating copy to clipboard operation
immich copied to clipboard

[BUG] Android App - Zooming in a picture using pinch is almost impossible

Open yurividal opened this issue 2 years ago • 7 comments

The bug

I believe that whatever library you guys are using for the image viewer is way too sensitive to side scrolling. It's basically impossible to zoom into a picture, it thinks I'm trying to swipe right or left. Double taping works, but only if the 2 taps are EXACTLY precisely on the same spot. This is a completely different behavior from the phone's gallery and Google photos.

Maybe there is a way to tweak the sensitivity?

The OS that Immich Server is running on

Ubuntu 22.04 docker

Version of Immich Server

1.60.0

Version of Immich Mobile App

1.60.0

Platform with the issue

  • [ ] Server
  • [ ] Web
  • [X] Mobile

Your docker-compose.yml content

Same as the example. Works fine.

Your .env content

.

Reproduction steps

1. OPen the app
2. OPen a photo to view.
3. Try pinching to zoom in.

Additional information

Android 13, Samsung Galaxy S23

yurividal avatar Jun 14 '23 18:06 yurividal

Hello would it be possible to have a video that describes the interaction you are experiencing?

alextran1502 avatar Jun 14 '23 19:06 alextran1502

Hello would it be possible to have a video that describes the interaction you are experiencing?

Here it is. Sorry for the terrible quality, had to record it with my crappy laptop camera. But you can clearly see how frustrating it can be. I eventually got it to zoom after a while. But it seems to be very random. Sometimes it zooms just fine, other times it just does this forever.

yurividal avatar Jun 14 '23 19:06 yurividal

https://github.com/immich-app/immich/assets/8555749/94ab43ec-4535-4bd2-9b78-bb5608f0dff2

@alextran1502

yurividal avatar Jun 14 '23 19:06 yurividal

Perfect! Thank you

alextran1502 avatar Jun 14 '23 19:06 alextran1502

I don't know if it is related, but the same happens to me sometimes, but only when loading the assets. I have a somewhat old phone, but when the loading icon (top right of the backup) is gone, the zooming works fine. Additionally while loading the app is pretty unresponsive, but this is surely related to my device. Hope this helps.

Michi1209 avatar Jun 15 '23 13:06 Michi1209

It seems to be only occasional issue. I've noticed this a few times but it fixed itself in matter of seconds. It definitely need to look tho.

Pheggas avatar Jun 18 '23 20:06 Pheggas

Yes, it's intermitent indeed. Unfortunately it always happens exactly when I'm trying to show someone a picture, and it makes me look dumb. Hahaha

yurividal avatar Jun 18 '23 20:06 yurividal

This is still a problem on the latest version of immich, 1.79.1

There is a fix in the changelog called "Notable fix: Jerky mobile's swipe behavior" but im not sure if it's related.

yurividal avatar Sep 22 '23 09:09 yurividal

This is still a problem on the latest version of immich, 1.79.1

There is a fix in the changelog called "Notable fix: Jerky mobile's swipe behavior" but im not sure if it's related.

Check out #5895

NicholasFlamy avatar Dec 20 '23 17:12 NicholasFlamy

Fixed

alextran1502 avatar Apr 27 '24 16:04 alextran1502

Fixed

In master or in the latest release?

NicholasFlamy avatar Apr 27 '24 16:04 NicholasFlamy

Latest release

alextran1502 avatar Apr 27 '24 17:04 alextran1502

Y'all tweaked that animation length or something. This actually mostly fixes #5895.

NicholasFlamy avatar Apr 27 '24 23:04 NicholasFlamy

It's like 10x better than it used to be.

NicholasFlamy avatar Apr 27 '24 23:04 NicholasFlamy

Found this issue (and #5895) after getting frustrated with swipe and zoom behavior. I still think the swipe animation should be much faster. Compared to Photos, the swipe animation seems roughly twice as slow, mostly due to the slow ramp down speed that Immich has.

benjithompson avatar May 14 '24 23:05 benjithompson