TelegramMessenger / TelegramMessenger/Telegram-iOS

App crash when trying to cut a video

Open
#366 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Checklist
  • [x ] I am reporting an issue in existing functionality that does not work as intended
  • [x ] I've searched for existing GitHub issues
Description

When I try to cut videos with the Telegram Editor, the app crash

Expected Behavior

I should be able to crop a video directly from the Telegram Editor

Actual Behavior

I can start the video sharing, then if I use the editor the app crash when I tap on the "cutting area" (the mini video preview).

Steps to Reproduce
  1. Share a Video from the in-chat function
  2. Tap the Crop feature
  3. Move the cursor on the video previe
Screenshots and Videos

ezgif-7-cf33e74d51ac

Environment

Device: iPhone XS

iOS version: 14.0

App version: `7.0.1

`

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 crash in the Telegram Editor's crop flow using the listed iPhone XS, iOS 14.0, and app version 7.0.1 conditions. Follow the video-sharing and crop steps, focusing on tapping and moving the cursor on the mini video preview; done means the video can be cropped without the app crashing.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.