Bug 204925

Summary: print preview doesn't work, conflict with karbonpart
Product: [Applications] okular Reporter: Gerry Gavigan <gerrysw11>
Component: PS backendAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal CC: sts
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: ksnapshot
result of print preview of postscript file
and then...

Description Gerry Gavigan 2009-08-23 23:33:27 UTC
Version:            (using KDE 4.3.0)
OS:                Linux
Installed from:    SuSE RPMs

best described by looking at the ksnapshot image, there seems to be a general failure, no features,
Comment 1 Gerry Gavigan 2009-08-23 23:35:09 UTC
Created attachment 36396 [details]
ksnapshot
Comment 2 Albert Astals Cid 2009-08-24 01:09:26 UTC
If you start okular from the shell does it give any output?
Can you view PS files inside okular?
Comment 3 Gerry Gavigan 2009-08-24 01:33:39 UTC
Created attachment 36398 [details]
result of print preview of postscript file
Comment 4 Gerry Gavigan 2009-08-24 01:34:23 UTC
Created attachment 36399 [details]
and then...
Comment 5 Albert Astals Cid 2009-08-24 19:08:28 UTC
What about the command line output, is there any?
Comment 6 Gerry Gavigan 2009-08-24 19:47:56 UTC
sorry, I thought I'd mentioned this. I didn't understand your original question.  How do I generate command line output?
Comment 7 Gerry Gavigan 2009-08-24 20:04:20 UTC
Googled the answer.

When trying print preview 


Gerry@linux-l2mo:~/Documents> okular print.ps
sh: pstoedit: command not found
Comment 8 Albert Astals Cid 2009-08-24 21:09:45 UTC
Now that is strange, we don't call pstoedit anywhere in our code as far as i remember. Will recheck.
Comment 9 Albert Astals Cid 2009-08-24 22:37:24 UTC
Ok the problem is kde was deciding to use karbon instead okular for print previewing, we have solved this now, if you need it to work you can uninstall karbon or edit the okularGhostview.desktop found somewhere in your installation and add 
InitialPreference=6
somewhere in it, thanks for reporting
Comment 10 Pino Toscano 2009-08-27 12:21:33 UTC
*** Bug 199693 has been marked as a duplicate of this bug. ***