Page 1 of 1

Bug detected when saving a file, in gdpicturepdf and gdviewer, in winform, when using pack:true argument

Posted: Mon May 22, 2017 8:40 pm
by rlagrange
Hi,

We are experiencing a strange bug with gdviewer, when used in coordination with gdpicturepdf.
- pdf file is loaded in gdpicturepdf
- gdviewer load from this gdpicturepdf
- add embedded image annotation interactive
- catch annotationaddedbyuser event, and do :
-- save the document with gdpicturepdf.savetofile, with pack=true
-- gdviewer.refresh()
-- gdviewer.displaypage(currentpage)
=> The annotation is moved to the last page.

The issue is not present when using pack=false

I have attached a modified version of your "Annotation sample", with the link between gdpicturepdf and gdviewer, where you can easily reproduce the issue.

Thanks for reviewing this bug.
Regards,

Re: Bug detected when saving a file, in gdpicturepdf and gdviewer, in winform, when using pack:true argument

Posted: Sat May 27, 2017 2:08 pm
by Loïc
Hello Jacques,

The problem has been reproduced and fixed for the next minor release. Thank you for the report.

Cheers,

Loïc