Closed DanielProg39 closed 1 year ago
Here's a new issue. When I stop the video, turn the screen off, turn it on and turn my phone horisontally, the video doesn't expand to full screen. It does only when minimised and reopened. I tried to reproduce this behavior, you can see it below.
https://github.com/libre-tube/LibreTube/assets/63293432/1930de75-8154-4d20-910b-deb565b2a6a5
Steps to reproduce
Make sure that screen orientation in general settings is set to portrait. Make sure auto-fullscreen is enabled in the player settings. Turn the phone to landscape orientation and open a video - the app crashes. Open a video in portrait mode and then rotate the phone to landscape - the video doesn't switch to full screen.
Expected behavior
Video should switch to full screen mode.
Actual behavior
Either the app crashes or nothing happen.
I suppose that this problem is caused by changes aiming to fix #5015
https://github.com/libre-tube/LibreTube/assets/63293432/1f5ffdc8-603e-4d43-b705-5063e4415dec
LibreTube version
LibreTube Debug 0.19.0 commit a212e0a
Android version
Android 13
Other details
Traceback
Acknowledgements