Xournalpp: what's the .xopp~ file extension?

Created on 25 Sep 2019  路  3Comments  路  Source: xournalpp/xournalpp

(Please complete the following information, and then delete this line)

Affects versions :

  • OS: Windows
  • Version of Xournal++ 1.0.12

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.

bug easy hacktoberfest medium

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 in src/control/jobs/SaveJob.cpp.

All 3 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Encefaloniel picture Encefaloniel  路  4Comments

terencode picture terencode  路  5Comments

coldspark29 picture coldspark29  路  3Comments

student-sx picture student-sx  路  4Comments

Krzmbrzl picture Krzmbrzl  路  4Comments