futo-org / grayjay-android

Read-only mirror of Grayjay repo for issue tracking
https://gitlab.futo.org/videostreaming/grayjay
Other
744 stars 45 forks source link

Disallow 180 degree vertical rotation #143

Open WillyWonksters opened 11 months ago

WillyWonksters commented 11 months ago

Thank you for this excellent application!

In addition to the rotation sensitivity issues mentioned in #67, another tweak that would be super helpful is to not allow the screen to ever rotate 180 degrees into the vertical upside down orientation. This would match the standard behavior of most other apps, and is useful when lying down to watch a video.

With current Greyjay behavior, if I attempt to watch a video in landscape orientation while lying down, I end up turning the phone to the upside down vertical position. I would like the video to remain in landscape without having to disable auto-rotation on my device.

xephos1one commented 11 months ago

I have to add that for me it doesn't even turn to 180° - it goes back to 0° even though the device is upside down. Equally bad when lying in bed and you want to watch in landscape mode 😄

xpdmk commented 4 weeks ago

I can reproduce the issue in v264. When watching a video, then rotating to landscape and then upside down portrait relative to the ground (like when lying down on your side and the screen is in landscape relative to you), the app will rotate to portrait 0°. Would expect it to stay in the last landscape orientation.