Skip to content

View jumps to top when rotating screen #2024

@MiMoHo

Description

@MiMoHo

Describe the bug
The following affects a note that is longer than the entire phone screen can show:
When scrolling down a note, the app keeps the current view's section when I rotate the screen. However, the current position is lost when I tap into the note for editing mode and rotate the screen. The note will jump to the top in landscape mode. I need to scroll down again, then edit in landscape mode, flip back to vertical mode and the note will jump to the top again. I would first need to close editing mode so that the note is saved to prevent losing the current position.

To Reproduce
Steps to reproduce the behavior:

  1. Open a long note.
  2. Scroll half way,
  3. tap in it to edit,
  4. rotate the screen.

Expected behavior
The app must not lose the current position by keeping the current view section in a way that the curser is placed horizontally relative to as it is vertically and vice versa.

Smartphone (please complete the following information):

  • Nextcloud Notes version (Android app): 4.1.0
  • F-Droid or Play Store: F-Droid
  • Android version: 14
  • Device: Sony Xperia 5

Server

  • Nextcloud version: 26.0.11
  • Nextcloud Notes version (server app): 4.9.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions