[Bug 1176030] New: Okular not showing print preview for PDFs
http://bugzilla.opensuse.org/show_bug.cgi?id=1176030 Bug ID: 1176030 Summary: Okular not showing print preview for PDFs Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: KDE Applications Assignee: opensuse-kde-bugs@opensuse.org Reporter: duelistgamer@yahoo.co.in QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Bug was reported to KDE upstream, which they then said to bring to you. Was Okular not compiled with ghostscript support? https://bugs.kde.org/show_bug.cgi?id=426064 I am copying the report here in verbatim:
SUMMARY
Okular is not loading print previews.
STEPS TO REPRODUCE 1. Open Okular 2. Load any PDF 3. File>Print Preview
OBSERVED RESULT
A window which says "could not load print preview part".
EXPECTED RESULT
A print preview of the PDF, based on my printer page layout.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE tumbleweed 20200826 snapshot (Linux <host> 5.8.2-1-default (71b519a) x86_64 GNU/Linux) KDE Plasma Version: 5.19.4 KDE Frameworks Version: 5.73.0 Qt Version: 5.15 okular Version: 1.11.0
ADDITIONAL INFORMATION
Opening okular from command line provided me a hint: org.kde.okular.ui: Could not find a PS viewer for the preview dialog.
When I tried to load a print preview for a .odt file, the preview loaded successfully. I don't have files in many different supported formats so I have not checked all of them.
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1176030 Aayush Agarwal <duelistgamer@yahoo.co.in> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |duelistgamer@yahoo.co.in -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1176030 http://bugzilla.opensuse.org/show_bug.cgi?id=1176030#c1 Fabian Vogt <fabian@ritter-vogt.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fabian@ritter-vogt.de --- Comment #1 from Fabian Vogt <fabian@ritter-vogt.de> --- The ghostscript functionality is not installed by default to avoid security issues, see bug 1122797 You can install "okular-spectre" manually to get the preview to work. I wonder whether we can (or even should?) show a dialog if this case is detected. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1176030 http://bugzilla.opensuse.org/show_bug.cgi?id=1176030#c2 --- Comment #2 from Aayush Agarwal <duelistgamer@yahoo.co.in> --- (In reply to Fabian Vogt from comment #1)
The ghostscript functionality is not installed by default to avoid security issues, see bug 1122797
You can install "okular-spectre" manually to get the preview to work.
I wonder whether we can (or even should?) show a dialog if this case is detected.
I believe this information should be made available via the interface. Also Fabian please correct me if I am wrong, but if ghostscript support was removed for security reasons, would installing okular-spectre bring back those security issues? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1176030 http://bugzilla.opensuse.org/show_bug.cgi?id=1176030#c3 --- Comment #3 from Fabian Vogt <fabian@ritter-vogt.de> --- (In reply to Aayush Agarwal from comment #2)
(In reply to Fabian Vogt from comment #1)
The ghostscript functionality is not installed by default to avoid security issues, see bug 1122797
You can install "okular-spectre" manually to get the preview to work.
I wonder whether we can (or even should?) show a dialog if this case is detected.
I believe this information should be made available via the interface.
Also Fabian please correct me if I am wrong, but if ghostscript support was removed for security reasons, would installing okular-spectre bring back those security issues?
It would make okular (and other applications using kparts like ark) vulnerable to security issues in ghostscript again, yes. If you open trusted files only, that might be acceptable. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com