Skip to content

Position in the grid is lost when orientation is changed

Description

When the android feature 'Auto-rotate' is enabled, that we scrolled toward the bottom, and we turn the device (and so the orientation changed from landscape to portrait or the opposite), then the grid displayed don't keep the position and now the first video in the list is displayed.

It's particularly annoying when:

  1. Playing a video
  2. Turning the device because the device is not in the good orientation to display the video (device in portrait while the video is in landscape or the opposite)
  3. The video ends and you return to the grid but at the top
  4. You are not able to play the next video in the list which is related because the position is lost and you are now at the top 😕

Expected behavior

The grid displayed should (approximately) keep the current position. We should see most of the previously displayed thumbnails. Or at least the ones one of the top left.

Actual behavior

The grid is returned at the top.

Steps to reproduce

  1. Enable 'Auto-rotate'
  2. Scroll toward the bottom
  3. Change phone orientation
  4. The new grid displayed has returned to the top (to the first video in the grid)

Screenshot / video

None.

Context

App version

V3.5.0 beta5

Same behavior with V3.4 (I think the regression was introduced by this version, even if it could be the V3.3. Not sure anymore)

Android version

10

Device model

OnePlus 5T+

App mode

Smartphone