javacafe01 / PdfViewer

A simple Pdf document viewer 💼
MIT License
384 stars 65 forks source link

Pdf viewer can't view password Secured files #23

Open jubreal opened 5 years ago

jubreal commented 5 years ago

Issue Summary

I expected that the application should open password encrypted pdf files by prompting an "insert password" message or at least unlock when the file when the "Unlock Secure PDF" option is used and the correct password was inputted. But surprisingly this does not work and the secured file remain unopened.

Steps to Reproduce the Problem

  1. Launch the pdf viewer plus application
  2. Click on the FAB with the '+' sign at the bottom right corner
  3. Click on "Pick File" and select a password secured file
    • It will be observed that there is no change in output (part of bug)
  4. Click on the FAB with the "+" sign again
  5. Then click on "Unlock Secure PDF", A pop-up window will appear for you to insert password, input the correct password and press 'ok'.
    • It will be observed that there is still no change in output whatsoever, hence, the bug.

Specifications

Recording of the bug

https://youtu.be/VprR-NeSDF0

Fs00 commented 3 years ago

@JavaCafe01 I think this can now be closed. Now the app makes it very clear when the document is password-protected and when the password entered by the user is wrong.

@jubreal If you experience the inability to open a password-protected PDF despite entering the correct password with the latest version, please open a new issue.