Signal-iOS icon indicating copy to clipboard operation
Signal-iOS copied to clipboard

Photo viewer zooming bug

Open jvanakker opened this issue 5 years ago • 14 comments

  • [x] I have searched open and closed issues for duplicates
  • [x] I am submitting a bug report for existing functionality that does not work as intended
  • [x] This isn't a feature request or a discussion topic

Bug description

The photo viewer doesn't zoom in properly, when partly zoomed. It centers on the top of the image, so you can never pinch-and-zoom to the center or bottom of an image without releasing the screen, it will move back to the top of the image.

Steps to reproduce

  • Send or receive an photo in a chat.
  • Tap the image to show it full screen in Signals build-in image/photo viewer.
  • Partly zoom in on the image, using pinch-and-zoom gesture.

Actual result: Describe here what happens after you run the steps above (i.e. the buggy behaviour) The image will not center properly when partly zoomed, it will center towards the top of the image. At certain zoom levels, you will (frustratingly) never be able to watch lower areas of the photo. At higher zoom levels you will be able to center on the lower areas.

The issue only appears in portrait mode, not in landscape mode.

Expected result: When zooming in it should keep centered on the part where you zoom in.

Screenshots

Device info

Device: iPhone 12 mini

iOS version: 14.7.1

Signal version: 5.18.3.0

Link to debug log

jvanakker avatar Aug 29 '21 08:08 jvanakker

Also affected. iPhone 11, latest version from TestFlight.

jkuchar avatar Aug 30 '21 15:08 jkuchar

I can also confirm the bug. iPhone 11 Pro Max iOS 14.7.1 Latest Signal beta version.

AntonioALEA1996 avatar Aug 31 '21 19:08 AntonioALEA1996

Update: the latest public iOS App Store version 5.19.0.5036 still shows this bug.

jvanakker avatar Sep 06 '21 07:09 jvanakker

Still getting this bug-

App version 5.19.1.3 (latest beta version) iPhone 12 Pro, iOS 15 dev build 8

whospaul avatar Sep 07 '21 21:09 whospaul

Bug still repros on 5.20.0.93, iPhone X, iOS 14.8

edwinlai avatar Sep 15 '21 05:09 edwinlai

Bug is still present at latest beta 5.21.0.29.

Device:iPhone 11 Pro Max iOS:15.0

AntonioALEA1996 avatar Sep 23 '21 08:09 AntonioALEA1996

Also still in App Store version 5.20.2.27.

I can add that the problem only occurs on landscape-layout photos on an iPhone 12 mini. Zooming portrait-layout (vertical) photos on a portrait-layout phone, does not give any problems.

Anyway, this problem adds frustration on a daily base in using Signal, and I'm not sure if this Github issue section is actively watched by Signal core developers, so I emailed them directly. I hope we'll get some feedback on the issue.

jvanakker avatar Sep 23 '21 10:09 jvanakker

Bug is still a thing on Testflight version 5.21.2.5

Device: iPhone 12 Pro iOS 15

whospaul avatar Oct 01 '21 19:10 whospaul

I just updated to the latest Signal version 5.24.0.46 today and this bug still exists.

Device: iPhone 13 Pro Max iOS: 15.1

adam8833 avatar Nov 03 '21 12:11 adam8833

This issue still exists in v5.25.0.13 (on iPhone 12 Pro Max iOS 15.1.1). I would like to add that it does affect your ability to view zoomed in images while in landscape as well. When in landscape you can see the bottom of the image (which you can’t do in portrait) but you cannot get fully to the right of the image. You can go past the extents of the left side of the image so that you can see black space between the image and the left side of the screen, but you cannot do the same for the right side of the image. If you try the app will rubber-band you back to the left.

mickied avatar Nov 26 '21 00:11 mickied

This was fixed for me in 5.26.2.1 (beta, iPhone 12 Pro iOS 15.2)

whospaul avatar Nov 26 '21 00:11 whospaul

Yea in (App Store) v5.26.2.0 this issue appears to be solved!

I will soon check more thoroughly then close the issue.

Thanks devs!

[edit: I now see that it's mentioned in the official changelog/what's new text since v5.26]

jvanakker avatar Nov 26 '21 08:11 jvanakker

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Jan 25 '22 09:01 stale[bot]

Is this still relevant?

Closing the issue was fine. After more testing I can only confirm it now works perfectly as supposed.

jvanakker avatar Feb 01 '22 11:02 jvanakker