nextcloud / nextcloud/notes-android

Screen Orientation change deletes unsaved changes

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

Nobody has claimed this yet.

bug Editor::Direct
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:

  1. Open a note in rich text editor
  2. Type some text
  3. Change screen orientation
  4. 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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.