Re: [Xournal-devel] Xournal handling a changing PDF background

2016-03-01 Thread arian
>> The point is that you just shouldn't expect good behavior when the PDF >> changes anyway I don't expect that. When I stumbled upon this, I was not aware I changed the PDF - xournal was not even running on the same machine as pdflatex (sshfs, yay), this simply caught me off guard. >

Re: [Xournal-devel] Xournal handling a changing PDF background

2016-03-01 Thread dmg
On Wed, Mar 2, 2016 at 5:29 AM, Denis Auroux wrote: > > The point is that you just shouldn't expect good behavior when the PDF > changes anyway -- if the number of pages changes, xournal won't modify > the xoj to reflect that anyway and we don't really want it to unless > we're sure the user want

Re: [Xournal-devel] Xournal handling a changing PDF background

2016-03-01 Thread Denis Auroux
Hi Arian, Xournal is not set up to handle a changing PDF background. It opens the file via poppler_document_new_from_file() and lets poppler take care of it, but the behavior when the file subsequently changes is undefined as far as I can tell -- in practice current version of poppler seems to

[Xournal-devel] Xournal handling a changing PDF background

2016-03-01 Thread Arian Sanusi
Hi all, I annotated a PDF I later regenerated using pdflatex. When scrolling off the region xournal already rendered and has in cache it shows a white background. It also errored out before, saying something along "could not render PDF", but I currently cannot reproduce this. This does not mak