Bug 46214

Summary: FILEOPEN: opening password protected pdf never ask for the password and starts with file containing "This PDF file is encrypted and can't be opened."
Product: LibreOffice Reporter: Wolfgang Neuwirth <wolfgang.neuwirth>
Component: DrawAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: bfo.bugmail
Priority: medium    
Version: 3.4.5 release   
Hardware: Other   
OS: All   
Whiteboard: BSA
Crash report or crash signature: Regression By:

Description Wolfgang Neuwirth 2012-02-17 00:53:29 UTC
Problem description: By opening a password protected pdf, draw starts with a file containing "This PDF file is encrypted and can't be opened." It does not ask for the password

I use the German language package so I describe the steps in German.

Steps to reproduce:
1. start soffice.exe
2. Datei öffnen: Dateiname
3. ...

Current behavior: Draw starts without asking for the password with a file containing "This PDF file is encrypted and can't be opened."

Expected behavior: first ask for the password and then open!

Platform (if different from the browser): 
              
Browser: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:10.0.1) Gecko/20100101 Firefox/10.0.1
Comment 1 bfoman (inactive) 2012-07-20 08:36:01 UTC
Checked with:
LO 3.5.5.3 
Build ID: own W7 debug build
Windows 7 Professional SP1 64 bit

Could not reproduce. Produced password protected PDF in Writer - password field was displayed in Draw upon opening.
Comment 2 Hashem Masoud 2012-09-15 08:32:08 UTC
(In reply to comment #0)
> Problem description: By opening a password protected pdf, draw starts with a
> file containing "This PDF file is encrypted and can't be opened." It does not
> ask for the password

Works for me:
Version 3.6.0.4 (Build ID: 932b512) Slackware Linux 13.37
Exported to PDF using writer with password, then I was able to re-open the file in writer and draw without problems.

Can you open your PDF file in another PDF reader easily? Can you attach it so we can try (if it doesn't contain sensitive info)?
Comment 3 bfoman (inactive) 2012-10-11 19:54:42 UTC
RESOLVED WORKSFORME per comment 1 and comment 2.
Do not hesitate to reopen if this bug is reproducible with the latest stable release.