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

Switch back/front camera bug in attachments

Open villyGreen opened this issue 2 months ago • 1 comments

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 go to attachments, then click on the camera preview, I can change the camera type (front and back), however when I multiple click on the change camera type button many times, the camera freezes and the screen is blurred if I change the mode to "video" or select current zoom type, then the camera reboots

Expected Behavior

The camera should not freeze when changing "camera mode"

Actual Behavior

When you press the "change camera mode" button multiple times, the camera freezes

Steps to Reproduce

  1. Go to attachments and open camera from camera-preview
  2. Multiple and fast touch on "change camera mode" button

Environment

Device: iPhone 11 Pro Max

iOS version: 17.4.1

App version: 10.12

https://github.com/TelegramMessenger/Telegram-iOS/assets/82367970/c93671b7-ef5f-427f-aa28-bb859005e408

villyGreen avatar Apr 26 '24 15:04 villyGreen

same issue

Flexx97 avatar Apr 26 '24 15:04 Flexx97