(Please complete the following information, and then delete this line)
Affects versions :
Describe the bug
double click a .xopp file to open it with xournalpp, then a file with the extension .xopp~ is created in the same folder. even when the xournalpp is closed, the .xopp~ is still there.
same thing happens for me on Arch Linux (with the latest xournalpp from the Community repo)
I cannot reproduce this when only opening files, but I see the file appearing when saving files. Are you certain this occurs when _opening_ files?
The .xopp~ file is backup file that is generated before saving an open journal (in case there is an issue when saving, so the file does not become corrupted). The fact that the backup file is not deleted after a successful save is a bug, though. The fix is to delete the backup file after the save in src/control/jobs/SaveJob.cpp.
This is still an issue.
Most helpful comment
I cannot reproduce this when only opening files, but I see the file appearing when saving files. Are you certain this occurs when _opening_ files?
The
.xopp~file is backup file that is generated before saving an open journal (in case there is an issue when saving, so the file does not become corrupted). The fact that the backup file is not deleted after a successful save is a bug, though. The fix is to delete the backup file after the save insrc/control/jobs/SaveJob.cpp.