nextcloud / nextcloud/notes-android

View position jumps to bottom

Open
#2,717 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
Java
Stars
1.1k
Forks
168
Avg merge
1d 17h
Merged PRs (30d)
31

Description

This issue respects the following points:
Describe the bug

1 Write a rather long note
2 Edit the note at the top.
3 While editing, the view sometimes suddenly jumps to the bottom of the long note
4 Scroll all the way up to to continue editing

(Not sure if I can add more details here but if not, where then?)
I have a feeling the jump happens due to syncing the note.
This might be a bug very specifically for me. My note is quite long(few thousand lines), I started it as a todo list, but when ticking off items it became sort of a diary going back to 2023:-). I add items at the top of the list, so when the view jumps to the bottom, I have to scroll up a long way to be able to continue editing. Hope you can pick this up.

Expected behavior

The view/editting position should not jump, and stay at the line where I was busy editing.

Notes Android version

4.3.1

Notes server version

4.12.1

Nextcloud Android version

3.32.0

Nextcloud version

10.0.6

Device

Samsung Galaxy S23

Android Version

15

App Store
  • Google Play Store
  • F-Droid
  • Huawei App Gallery
Stacktrace

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with a several-thousand-line note, editing near the top while syncing, and observe when the view moves to the bottom. Investigate the note editor and sync behavior responsible for preserving the editing position. Done means the view remains at the line being edited during synchronization.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.