Bug 24091

Summary: Info dictionary gets clobbered by save
Product: poppler Reporter: Kovid Goyal <kovid>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: test case

Description Kovid Goyal 2009-09-22 11:47:40 UTC
Steps to reproduce:

Load attached file into a PDFDoc

Save the PDF Doc to a new filename

Load the new file and use doc->getInfo
Comment 1 Kovid Goyal 2009-09-22 11:48:24 UTC
Created attachment 29767 [details]
test case
Comment 2 Albert Astals Cid 2009-09-24 04:55:38 UTC
Can you please post the code you use or clarify the following questions?
Which save function you use? saveAs or saveWithoutChangesAs if saveAs you use   writeStandard, writeForceRewrite or writeForceIncremental?
Also there's only a getInfo function in the Qt3 frontend, is that the function you use that fails?
Comment 3 Kovid Goyal 2009-09-24 08:51:53 UTC
I use getDocInfo declared in PDFDoc.h (wrapper around getDocInfo in XRef.h.

The save function is saveAs and I've tried both writeNormal and forceRewrite. 
Comment 4 Albert Astals Cid 2009-09-26 09:32:15 UTC
Fixed

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.