signalapp / Signal-iOS

A private messenger for iOS.
https://signal.org
GNU Affero General Public License v3.0
10.59k stars 2.95k forks source link

Certain images trigger visual anomalies in media viewer on certain devices #5827

Open BionicBison05 opened 1 week ago

BionicBison05 commented 1 week ago

Bug description

When certain images are sent (namely FaceTime photos), the image glitches out and appears sideways. This happens on an iPad Pro 11" and an iPhone 14 Pro Max and 15 Pro Max, but not on a regular iPhone 11, so screen size may be a factor.

Steps to reproduce

If you cannot get a FaceTime photo yourself or yours does not reproduce the issue, download this zip file (uploaded as such to prevent GitHub from attempting to compress the image and possibly stopping it from reproducing the issue) to your iPhone, unzip it, save the image to your photo library, and send it from inside Signal (again, the share sheet is not affected by this issue).

lp_image.heic.zip

Actual result: Image appears sideways with broken animation while opening it

Expected result: Image appears normal like all other images

Screenshots

https://github.com/signalapp/Signal-iOS/assets/93722725/3b3b7c81-7989-4fde-b2c4-3c06a7b01458

Device info

Device: iPhone 14 Pro Max, iPhone 15 Pro Max, 3rd generation 11-inch iPad Pro

iOS version: 17.5.1 Signal version: 7.15

Link to debug log

https://debuglogs.org/ios/7.15.0/37a2f56cdea864d17c430f13a1a0aae3cf10fbd1615458bc496ce1309e2593ec.zip