-
-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scroll state reset after rotation change #5808
Comments
It turns out that it's not the gesture itself to blame. I used the fullscreen button and it still happens. It moves the feed to the top (latest video). It seems to be intermittent too. |
This bug is only expressed when going into landscape mode. When setting the fullscreen mode to portrait, the bug does not occur. |
A little more testing shows that any screen rotation transition resets the scroll position in all video feeds. You can replicate this by setting General > Screen Orientation to "Auto-rotation". I also noticed that not all scrollable lists were affected, such as subscriptions and settings. I could only get it to occur on the video feed lists. |
I've tracked it down to be this issue: material-components/material-components-android#3473. Not sure if there's any workaround for this 🤷 |
The issue applies for the subscriptions, watch history and the views for looking at a channel or a playlist. ( |
Correction: by "subscriptions", I meant the view that enumerates your channel subscriptions. The subscriptions video feed is indeed affected. |
Steps to reproduce
Expected behavior
The position should be unchanged
Actual behavior
The position is changed as if the swipe down was used in the feed not the fullscreen player
LibreTube version
0.22.1
Android version
Android 14
Other details
The issue was introduced in v0.21, and doesn't seem to affect shorts.
Preview.mp4
Acknowledgements
The text was updated successfully, but these errors were encountered: