notes-android icon indicating copy to clipboard operation
notes-android copied to clipboard

Recovering deleted notes in offline mode

Open cellfdroid opened this issue 4 years ago • 2 comments

When a note is deleted in offline mode it does not show up under "Deleted notes".

When notes are synchronized it still doesnt show up under "Deleted notes"

Is this intentional behavior? Any other way to recover accidently deleted notes in offline mode?

App version - 3.4.18 Appstore - Fdroid Android version - 10

cellfdroid avatar Jan 26 '22 13:01 cellfdroid

Yes, this is intentional. The trashbin opens the trashbin of the default Nextcloud Android app, because a redundant implementation didn't make sense in my opinion - it is simply not worth the effort.

Since you have been in offline mode, the note has never been synchronized to your cloud and the Nextcloud Android app can therefore not be aware of it.

If you delete the note while never have been online in the meantime, the deleted note is therefore not restorable from the trashbin as it has never been there.

stefan-niedermann avatar Jan 26 '22 14:01 stefan-niedermann

Thanks for clarifications.

Would it make sense to add confirmation popup while deleting files that are not yet synchronized?

Message can highlight that since its not synchronized action is final.

cellfdroid avatar Jan 26 '22 18:01 cellfdroid