nextcloud / nextcloud/android

Settings screen scroll position resets after device rotation

Open
#16,251 2 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

Description:
When rotating the device while viewing the Settings screen, the scroll position resets to the top.

Steps to Reproduce:
1. Open Nextcloud Android app
2. Navigate to Settings
3. Scroll down to any option
4. Rotate device (portrait ↔ landscape)

Expected Behavior:
The scroll position should be preserved across configuration changes.

Actual Behavior:
The screen scrolls back to the top after rotation.

Environment:
- App version: latest Play Store version
- Android version: 13
- Device: Emulator (Pixel 5, API 33)

Additional Notes:
This affects usability on long settings pages.

### Expected behaviour

The scroll position in the Settings screen should be preserved when the device orientation changes.

### Actual behaviour

After rotating the device, the Settings screen scrolls back to the top, losing the previous position.

### Android version

13

### Device brand and model

Google Pixel 5

### Stock or custom OS?

Stock

### Nextcloud android app version

Latest version from Google Play Store (tested on Jan 2026)

### Nextcloud server version

Not tested against a specific server version. Issue observed in the Android client UI without active server interaction.

### Using a reverse proxy?

No

### Android logs

_No response_

### Server error logs

```bash

```

### Additional information

Observed consistently on emulator. This impacts usability when navigating long settings lists.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.