Originally Posted by Mackx
@Groen: Thanks for explaining, I will recheck the code to see if I forgot something.
If I read well: You get it when using the File->Import Notes-menu and when using File->Save (or Save As)?
Correct. In both cases I had not done anything else in Xournal, just started Xournal up to get started. In the first case to import the notes file (in order to convert it to PDF), in the second case I wanted to start scribbling, but hadn't started yet. I usually start off with saving the blank document in other to have a filename assigned to it, so I can just hit save later to regularly save it while I progress writing.