Skip to content

Notes silently fails when data cannot be written to disc! -> data loss!

Submitted by cko

Assigned to Mike Massonnet

Link to original bug (#12078)

Description

Created attachment 6388 Screenshot of notes layout.

I am working with Notes for a long time now. Currently on 1.8.1 on an Arch Linux. Data gets stored in ~/.local/share/notes

Problem: Data copy&pasted in newly created top+sub-level-groups didn't get saved after a normal system shutdown -> the data was lost.

Filesize of the empty groups = 0.

To reconstruct, this might help:

I had a group TODO (only) in the beginning. Then I added a new group of notes using the panel menu directly, so I have a second window (group of notes).

I renamed the first group to from TODO to Customers and the second (new) group to TODO.

I renamed that notes in the group TODO to TODO, Calendar, Shopping, DONE.

I copy&pasted some data from the Note Customers-TODO to TODO-TODO and TODO-DONE. Deleted the Note Customers-TODO.

I copy & pasted some data from an external text file to TODO-Calendar, TODO-TODO.

After some hours of some other work, I've shutdown that computer normally. Next day - reopened notes - data was lost!!

I guess there is a constellation where filenames or folder-names can clash up and data is lost. Or the Data in the second group of notes is not saved at all! Cannot trust Notes anymore :-(

Feature Request: Indicate that notes are saved properly in title (by adding some indicator * when changed/not saved yet).

Feature Request: Backup with some levels of history. (hint: ideally using git)

Attachment 6388, "Screenshot of notes layout.":
Screenshot_Notes-Data-Loss