jwr1 / interstellar

An app for Mbin and Lemmy, connecting you to the fediverse.
https://kbin.earth/m/interstellar
GNU General Public License v3.0
27 stars 4 forks source link

[Android] App stuck in landscape rotation after background #5

Open SilkyPants opened 5 months ago

SilkyPants commented 5 months ago

Describe the bug After backgrounding the app for a while with a full screen landscaped YT video, the app is stuck in landscape mode and will not rotate into portrait until the next restart.

To Reproduce Steps to reproduce the behavior:

  1. Load a post with an embedded YouTube video
  2. Play the video in landscape/full screen
  3. Background the app
  4. Wait for a long period (> 10 mins). Open other apps, or generally use device to ensure app is moved into suspension.
  5. Reopen app in portrait orientation, notice the app restarts to main thread screen but locked in landscape orientation. Can freely rotate to other landscape orientation but not to portrait.

Expected behavior App starts in the correct orientation, and can rotate freely to all supported orientations

Screenshots Screenshot_20240105-100554.png

Device (please complete the following information):

Pixel 7 running Android 14

jwr1 commented 5 months ago

Is this still an issue after the youtube playing fix?

SilkyPants commented 5 months ago

@jwr1 - I managed to replicate this overnight, unfortunately. Same steps, though I had then left it overnight and when reopening the app it was stuck in Landscape mode

jwr1 commented 5 months ago

Ok, thanks. I'll reopen it.