Dimillian / IceCubesApp

A SwiftUI Mastodon client
https://apps.apple.com/us/app/ice-cubes-for-mastodon/id6444915884
GNU Affero General Public License v3.0
5.41k stars 519 forks source link

Bug: Taking a photo in landscape mode shrinks camera preview #1559

Open vsaw opened 1 year ago

vsaw commented 1 year ago

Environment:

Description

When creating a new post and taking a photo in landscape mode, the entire screen gets rotated and shrinks the camera preview so that it becomes too small to see.

Steps to reproduce

  1. Have phone in portrait mode
  2. Click: Compose a new post
  3. Click: Take Photo and open camera mode
  4. Rotate Phone to landscape mode
  5. Observe how screen rotates and camera preview shrinks

Related Issues

ChrisMBarr commented 9 months ago

I want to bump this issue. It's still present in version 1.10.9

I'm on iOS 17.2.1 with an iPhone 12 mini. I should also note that this behaves the same if I first rotate to the compose window to be horizontal before opening the camera. Apparently the only way to get a horizontal image into a toot is to open the camera app, take a photo there, and then add it from the photo library.

Here is a screen recording of me attempting to take a horizontal photo (of a pile of NFC tags I bought!)

https://github.com/Dimillian/IceCubesApp/assets/463685/023b8128-e5c7-4802-833e-a3944acedcc3

steakpinball commented 2 weeks ago

This is still happening in version 1.11.0 on iOS 18.0. I would like to add that even though the on-screen capture button is not visible, you can still capture a photo using hardware buttons.