nextcloud / nextcloud/notes-android
View position jumps to bottom
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 168
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 31
Description
This issue respects the following points:
- I have read the FAQ
- I have searched for existing issues
- The issue affects the Notes Android app, neither the Notes server app nor the Nextcloud Android app.
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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