nextcloud / nextcloud/notes-android

Pressing "Cancel" does not undo the edit, and note is saved with modifications

Open
#1,909 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug
When I modify a note (adding text or removing text) and hit "Cancel" in the menu, the modifications are still saved. The behaviour first appeared a month or two ago.

To Reproduce
Steps to reproduce the behavior:

  1. Open Notes app.
  2. Select a note.
  3. Edit the note by adding or removing text.
  4. Click the three dot menu in the upper, right corner.
  5. Hit Cancel.
  6. The spinning circle is shown briefly and the modifications to the note is saved.

Expected behavior
When hitting Cancel, I would expect any modification to the notes to be discarded.

Smartphone (please complete the following information):

  • Nextcloud Notes-Version (android app): 4.1.0 RC1.
  • F-Droid or Play Store: F-Droid.
  • Android-Version: 12.
  • Device: Samsung Galaxy S10E (SM-G970F).

Server

  • Nextcloud version: 23.0.12 [edit - upgraded server to 27.1.2, but issue remains]
  • Nextcloud Notes version (server app): 4.3.1 [edit - upgraded server app to 4.8.1, but issue remains]

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 edit-and-Cancel flow in the Android Notes app using the reported steps and versions where possible. Done means changes made to a note are discarded after tapping Cancel, rather than saved; verify the behavior after editing both added and removed text.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.