nextcloud / nextcloud/android

Scroll in media view resets when viewing a photo/video

Open
#17,622 0 comments 0 reactions 0 assignees View on GitHub
0. Needs triage bug
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### ⚠️ Before posting ⚠️

- [x] This is a **bug**, not a question or an enhancement.
- [x] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [x] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).

### Steps to reproduce

1. Go into media view, scroll down a little
2. Press any image or video
3. Go back to the media view

### Expected behaviour

When I go back to the media, I should be where I was before I clicked the photo/video, i.e. on the same scroll position

### Actual behaviour

The scroll position resets and I end up at the top of the media view, meaning I have scroll back again to get to where I was before I clicked the photo

### Android version

16

### Device brand and model

Samsung Galaxy s21

### Stock or custom OS?

Stock

### Nextcloud android app version

34.1.1

### Nextcloud server version

34.0.3

### Using a reverse proxy?

Yes

### Android logs

_No response_

### Server error logs

```bash

```

### Additional information

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the Android app by following the listed media-view steps, then trace how navigation returns from a photo or video to the media view. Done means returning to the same scroll position instead of the top; verify this for both photos and videos on the reported setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.