! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-notes-plugin-1.7.7 creates notes from temporary files
Status:
RESOLVED: MOVED
Product:
Xfce4-notes-plugin
Component:
General

Comments

Description Harald Judt 2013-02-07 20:25:26 CET
I don't know when it happens (I suppose on panel restarts), but xfce4-notes-plugin-1.7.7 creates notes from temporary files. These are named like notes I've created before, with a dot and random characters at the end, e.g.: Todo.L44QNW. The contents are the same too.

After a while, a lot of these files exist and need to be deleted, which is pretty awful.
Comment 1 Mike Massonnet editbugs 2013-05-25 15:20:33 CEST
such files are created while saving the note/notes with the g_file_set_contents function.

"This write is atomic in the sense that it is first written to a temporary file which is then renamed to the final name.", read more here: https://developer.gnome.org/glib/stable/glib-File-Utilities.html#g-file-set-contents

such files can be kept on the system while closing the X session (when xfce4-panel gets terminated), in which case the notes application is terminated as well and triggers a save operation, but didn't get time to run all operations.

a save action is always run when exiting the application, even when such an action is not necessary. this part can be improved.
Comment 2 Git Bot editbugs 2020-05-23 00:25:42 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-notes-plugin/-/issues/15.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #9840

Reported by:
Harald Judt
Reported on: 2013-02-07
Last modified on: 2020-05-23

People

Assignee:
Mike Massonnet
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information