nextcloud / nextcloud/notes-android
Undo delete results in duplicate note
Open
Nobody has claimed this yet.
bug
- 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
- Delete a note from the overview
- Immediately click on the appearing undo bar
- A duplicate note of the concerned note is created in addition to the original
Expected behavior
The note should be restored but no duplicate note should be added and named "...(2)":
Notes Android version
4.2.1
Notes server version
4.10.0
Nextcloud Android version
3.29.0
Nextcloud version
27.1.10
Device
Sony Xperia 5
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
Reproduce the problem in the Notes Android app by deleting a note from the overview and immediately selecting the undo bar, using the reported app and platform versions as a reference. Trace the delete/undo flow and verify that undo restores the original note without creating a second note named "...(2)".
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
- Clearly specified
- Newbie friendliness
- 45/100