Bug 210287

Summary: problems with (ignoring) drm-settings (pdf)
Product: [Applications] okular Reporter: m.wege
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description m.wege 2009-10-12 10:12:36 UTC
Version:            (using KDE 4.3.2)
Installed from:    Ubuntu Packages

I have some problems with a document that contains drm-settings. They appear to be related, that is why I report them as one. If you have the feeling I should split them up, I will do so.
I have a PDF-document, which has forms. I opened it with okular, hoping I can save the contents of the form, even though it is forbidden in regular Adobe Reader.
First I filled out parts of the form to test it. Then I used "Save-in/under" (Speichern-In in German). I got the following message:
"Datei kann nicht in „/tmp/kde-mark/okularZQ6600.tmp“ gespeichert werden. Versuchen Sie einen anderen Speicherort" -> file can not be saved in /tmp, please try it somewhere else. The funny thing about this, I  never tried to save it in tmp. I think Okular could not save the document because of the drm, but gave this cryptic message. This message should definitely be changed then.
Saving the file as a copy worked, but did not contain the forms filled out. I then noticed that I had to uncheck "accept drm settings". I did so, but the same happens as above. So ignoring drm settings does not work in this case, but okular does not indicate this at all.
So the essence of this report is:
- okular does not provide clear feedback about problems relating to drm-settings and forms -> this should be changed at least.
- it would be better if ignoring drm settings in this case really worked.
Comment 1 Pino Toscano 2009-10-12 10:20:04 UTC
drm settings don't make pdf saving fail like that.
most probably the document itself is encrypted, is this the actual case?
Comment 2 Albert Astals Cid 2009-10-12 10:27:39 UTC
He can't know, as encrypted (in poppler sense) does not necessarily mean the file asks for a password, but yes, i think the problem is non existant (besides a lack of explaining the error better)

Is there any possibility you can attach the pdf file?
Comment 3 m.wege 2009-10-12 10:32:14 UTC
I looked it up. Your are right, unfortunately yes. This means it wont be possible to fix this? Then it would be good to have better messages, telling what actually is the problem.
Comment 4 Pino Toscano 2009-10-12 10:36:16 UTC

*** This bug has been marked as a duplicate of bug 208119 ***