nextcloud / nextcloud/notes-android
Screen Orientation change deletes unsaved changes
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 168
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 31
Description
Please use GitHub reactions 👍 to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!
Describe the bug
When a note is edited in rich text editor and screen orientation changes, the note seems to reload and unsaved changes are dismissed.
To Reproduce
Steps to reproduce the behavior:
- Open a note in rich text editor
- Type some text
- Change screen orientation
- The screen goes blank for a moment, then the text is gone
Expected behavior
Screen orientation change should not trigger a reload of the page or the note should be saved automatically before reload.
Smartphone (please complete the following information):
- Nextcloud Notes-Version (android app): 4.1.0
- F-Droid or Play Store: F-Droid
- Android-Version: 13
- Device: Fairphone 4
Server
- Nextcloud version: 27.1.6
- Nextcloud Notes version (server app): 4.9.1
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
Reproduce the issue in the Android app by editing a note in the rich text editor and rotating the device. Start by tracing how the editor and note state behave during screen-orientation changes; done means unsaved text remains available after rotation or is saved before any reload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100