Bug 501458

Summary: Can not open password protected PDF
Product: [Applications] okular Reporter: jakub.j
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: aacid
Priority: NOR    
Version First Reported In: 24.12.3   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: error message

Description jakub.j 2025-03-13 16:33:15 UTC
Created attachment 179372 [details]
error message

SUMMARY
Okular will report an error, if the PDF has password protection.

STEPS TO REPRODUCE
1. Create PDF with password protection
2. Try to open this PDF

OBSERVED RESULT
Okular will report error "Could not open 'file:///C:<some path>/<file name>.pdf'".

EXPECTED RESULT
Okular should show prompt to enter password to unlock the PDF. When correct password is entered the PDF should be displayed.

SOFTWARE/OS VERSIONS
Windows 10 Version 22H2
KDE Frameworks : 6.11.0
Qt: Using 6.8.1 and built against 6.8.1

ADDITIONAL INFORMATION
The same issue was observed with Okular version 24.12.2.
Comment 1 jakub.j 2025-09-23 16:27:26 UTC
This bug is not present at the version 25.08.1