SUMMARY I have a PDF where a password is used to protect against editing. But the password is not needed for display only. This file cannot be opened in okular on my system. STEPS TO REPRODUCE 1. Open https://www.bgfg.de/fileadmin/bgfg/Geschaeftsberichte/Geschaeftsbericht_2018_BGFG_Jahrbuchteil_END-Doppelseiten-WEB.pdf in okular 2. Click "cancel" when asked for password OBSERVED RESULT Error is shown that the file cannot be opened EXPECTED RESULT The file should be displayed and there should be no password prompt. SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE Leap 15.0 (available in About System) KDE Plasma Version: 5.12.8 KDE Frameworks Version: 5.45.0 Qt Version: 5.9.4 ADDITIONAL INFORMATION Opening the file with Master PDF Editor in the same machine or with Adobe Reader on another PC does not prompt for a password and displays the file just fine. In an earlier bug (https://bugs.kde.org/show_bug.cgi?id=365460) there was mention of poppler, so here are all installed poppler RPMs with version: libpoppler73-0.62.0-lp150.2.5.x86_64 libpoppler-glib8-0.62.0-lp150.2.5.x86_64 libpoppler-qt5-1-0.62.0-lp150.2.3.x86_64 poppler-data-0.4.8-lp150.1.3.noarch poppler-tools-0.62.0-lp150.2.5.x86_64
BTW, it also happens on a newer system with SOFTWARE/OS VERSIONS okular: 1.6.3 Linux/KDE Plasma: openSUSE Leap 15.1 KDE Plasma Version: 5.12.8 KDE Frameworks Version: 5.55.0 Qt Version: 5.9.7 libpoppler73-0.62.0-lp151.3.4.x86_64 libpoppler-glib8-0.62.0-lp151.3.4.x86_64 libpoppler-qt5-1-0.62.0-lp151.3.4.x86_64 poppler-data-0.4.8-lp151.2.1.noarch poppler-tools-0.62.0-lp151.3.4.x86_64
Yes. It happens for poppler git/master and okular git/master. I think it's a poppler issue.
This is a poppler bug, please report upstream at https://gitlab.freedesktop.org/poppler/poppler/issues
This is the bug in the poppler issue tracker: https://gitlab.freedesktop.org/poppler/poppler/issues/832 It got closed today, so their fix should be available soon.