Summary: | When compiled without libspectre print preview displays the postscript code | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | alancio <lameventanas> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aacid, alex.merry, fabiodurso, jlayt |
Priority: | NOR | ||
Version First Reported In: | 0.19.60 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/okular/4c4825a2a8aa33297d591150cf26cfd3119cbba7 | Version Fixed In: | 4.13.2 |
Sentry Crash Report: | |||
Attachments: | Screenshot of print preview window |
I am afraid there is not much we can do here. The code asks for a Kpart that is able to show postscript and Kate says "hey, i can do that" so if the okular part is missing the kate part is loaded. I'm adding Alex and John here since they are the ones that did the code in case they can add some ideas Git commit 4c4825a2a8aa33297d591150cf26cfd3119cbba7 by Luigi Toscano. Committed on 11/05/2014 at 14:31. Pushed by ltoscano into branch 'KDE/4.13'. Print preview: explicitly look for the Okular/Ghostview part No other parts which renders PostScript are available at the moment, and parts which handles them are return "unexpected" resultS (e.g. katepart: PostScript source code). Reviewed by: Albert Astal Cid FIXED-IN: 4.13.2 M +5 -1 ui/fileprinterpreview.cpp http://commits.kde.org/okular/4c4825a2a8aa33297d591150cf26cfd3119cbba7 |
Created attachment 64691 [details] Screenshot of print preview window Version: unspecified (using KDE 4.7.2) OS: Linux When compiled without libspectre print preview produces a window with the postscript code. Reproducible: Didn't try Steps to Reproduce: 1. Compile okular without libspectre 2. Open pdf file 3. File / Print Preview Actual Results: A window showing postscript code Expected Results: Some rendered image, or an error message if its not possible to render image.