krille-chan / fluffychat

The cutest instant messenger in the [matrix]
https://fluffychat.im/
GNU Affero General Public License v3.0
1.1k stars 192 forks source link

Rotating iPhone from portait to landscape to portrait orientation causes crash. #1184

Open bombermuecke opened 3 months ago

bombermuecke commented 3 months ago

Bug Description

If I rotate the iphone or ipad pro from portrait orientation to landscape and then back to portrait orientation then the app crashes. If only the chatlist is opened while doing this, the app window turns black and the app needs to be restarted. If a chat window was active, then the bug widget pops up, showing the following log (iphone):

Datei 20.06.24, 13 24 34.txt

Steps to Reproduce

  1. ensure the autoscreenrotation is turned on on the iphone
  2. start app in portrait orientation
  3. enter some room (see description)
  4. turn iphone to landscape orientation
  5. after the app has autorotated, turn iphone back to portrait orientation

Expected Behavior

App should turn back to portrait orientation.

App Version

1.21.1

Additional Platform Information

iPhone 14 pro max iOS 17.5.1 and iPad Pro 2022 iPadOS 17.5.1

Additional Context

No response

dabblingwithcode commented 3 months ago

I can confirm the issue with 1.21.1 on Andoird (Pixel 7a, Android 14). If I change the orientation from portrait to landscape in the chatlist view, the navigator does not seem to find its way back to portrait and shows a black screen. If I change back to landscape, it is still everything there and responsive, but there is no way back to portrait mode.