nextcloud / nextcloud/notes-android
Extreme Performance Issues With Long Notes
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
Editing long notes causes extreme performance issues, where there is noticeable input lag when typing.
This issue only occurs when using plain editing mode and not the rich edit mode. However, using the plain edit mode is a requirement for me, as I can often times experience connection drop outs.
This issue is similar to #2192, however in that issue they mentioned that it occurs when using the rich edit mode. This issue occurs specifically with the plain edit mode.
This is a regression, as previous versions of the notes app did not experience this. Later, I will attempt to determine which version introduced the regression, however I believe it was introduced somewhere in the range of 6-9 months ago (I never bothered to report it at that time).
To reproduce:
- Create a new note
- Switch to plain edit mode
- Type some text (anything works)
- Select everything and copy it
- Paste text several times
- Attempt to type anything
- Repeat steps 4-6 until there is noticeable input lag while typing.
See attached video for example.
https://github.com/user-attachments/assets/b3bc5ea0-c508-4d1d-b764-1680ebea30c5
Expected behavior
Does not have performance issues with long notes
Notes Android version
4.3.1
Notes server version
4.11.0
Nextcloud Android version
3.30.4
Nextcloud version
29.0.7
Device
OnePlus 9 Pro 5G
Android Version
14
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 lag in Notes Android 4.3.1 using the reported plain-edit workflow of repeatedly copying and pasting a note, then compare it with rich edit mode. Use the attached video and the behavior on long notes as the baseline; done means typing remains responsive in plain edit mode without regressing rich editing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100