Summary: | PDF: LO asks for password opening attached file. Evince does not. | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Sergey <fuxx> |
Component: | Drawing | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | alexpikptz, robert.roth.off |
Version: | Master old -3.6 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | BSA | ||
i915 platform: | i915 features: | ||
Attachments: |
The file requiring password.
Password dialog |
Created attachment 61297 [details]
Password dialog
(In reply to comment #0) Confirmed here and I couldn't find a duplicate: Version 3.6.0.4 (Build ID: 932b512) Slackware Linux 13.37 If there is no password assigned, why would the password dialog appear in the first place? Could it be write-protected PDF? Then LO in fact is asking for password for write access? Meaning evince does not require any password for read-only access. Even if this is true, the dialog text is misleading, it says "Enter password to _open_ file:" while in case write-protected file it should say something like "Enter password to open file for modification or press Cancel if you want it open read only". The password dialog appears because the PDF file is encrypted, pdfinfo says: Encrypted: yes (print:yes copy:yes change:no addNotes:no) Which means printing and copying is enabled without password, changing the PDF or adding notes is forbidden. Reproducible with LibreOffice 4.2.5 and 4.3.0 on debian.
> The password dialog appears because the PDF file is encrypted
Anyway, "General IO error" is not correct behavior.
|
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.
Created attachment 61296 [details] The file requiring password. I'm using latest git. Problem description: Steps to reproduce: 1. Open attached file with libreoffice Current behavior: 1. Open attached file with libreoffice 2. LO asks for password: see attached screenshot-1.png 3. Pressing Cancel successfully opens a file. 4. Entering something says: incorrect password 5. After password entered LO not able to open the file even after Cancel - it says "General IO error" Expected behavior: Evince displays the file with no password required, also selecting "Cancel" in LO successfully opens the file. I expect the file to be opened without password. Also, if the file is indeed protected somehow, i expect LO to provide more information about what is happening. Platform (if different from the browser): Browser: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/10.04 Chromium/18.0.1025.151 Chrome/18.0.1025.151 Safari/535.19