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

General discussions about GdPicture.NET.
Post Reply
rlagrange
Posts: 25
Joined: Tue May 02, 2017 5:51 pm

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

Post by rlagrange » Mon May 22, 2017 8:40 pm

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,
Attachments
Annotations.zip
(591.84 KiB) Downloaded 32 times

User avatar
Loïc
Site Admin
Posts: 5575
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

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

Post by Loïc » Sat May 27, 2017 2:08 pm

Hello Jacques,

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

Cheers,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest