TelegramMessenger / TelegramMessenger/Telegram-iOS

White square in file viewer, a photo does not zoom

Open
#158 8 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
9k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

My friend and I share photos as files. My friend complains that sometimes photos are shown with a white square or space (in iphone) and he cannot zoom them.

white square in photo as file

screenshots:
imageimage
download (without geotag): link

Correct photo as file

screenshot:
image
download (without geotag): link
Sorry for the small number of tests - I do not have an iOS device. 😞

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the white-square and no-zoom behavior on an iPhone using the linked photo downloads, comparing them with the linked correctly displayed photo. No source file or test is named, so trace the file viewer's image rendering and zoom entry points first; done means both sample photos display fully and support zooming.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.