Bug 186344 - Okular fails to display some PostScript files generated by SeaMonkey
Summary: Okular fails to display some PostScript files generated by SeaMonkey
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PS backend (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-06 15:08 UTC by Tristan Miller
Modified: 2009-03-06 15:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Miller 2009-03-06 15:08:31 UTC
Version:            (using KDE 4.2.0)
Installed from:    SuSE RPMs

Reproducibility: Always

Steps to reproduce:
1. In SeaMonkey, go to http://journeyplanner.tfl.gov.uk/user/XSLT_TRIP_REQUEST2?language=en
2. Enter a starting point and destination and hit the "Search" button.
3. On the results page, hit the "View" button next to one of the results.
4. File->Print
5. Select "postscript/default" as the printer and check the "Print to File" box.  Click Print and enter a filename.
5. Attempt to open the printed PostScript file in okular.

Expected results:

6. Okular should display the file.

Observed results:

6. Okular displays a blank page with an icon in the upper left corner.  The following is output to the console:

[psy@weasel:/tmp]$ okular bar.ps
okular(18872): Attempt to use QAction "bookmark_action_0" with KXMLGUIFactory!
rangecheck -15
rangecheck -15
okular(18872)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size  0   844   0   1194
QImage::scaled: Image is a null image
rangecheck -15
rangecheck -15
okular(18872)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size  0   829   0   1173
QImage::scaled: Image is a null image
rangecheck -15
rangecheck -15
okular(18872)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size  0   147   0   208
QImage::scaled: Image is a null image
[2]+  Done                    firefox 'http://journeyplanner.tfl.gov.uk/user/XSLT_TRIP_REQUEST2?language=en'
[psy@weasel:/tmp]$

Notes:  So far I've been able to reproduce the problem only with PostScript files produced by SeaMonkey.  PostScript files of the same websites produced by Konqueror and Firefox seem to be OK.  Also, gv has no problems opening and displaying the files; it's only okular which seems to choke.  Not sure if this is a problem with Okular or with SeaMonkey, though since gv handles the files fine I am posting the bug report here first.
Comment 1 Pino Toscano 2009-03-06 15:29:34 UTC
libspectre bug: http://bugs.freedesktop.org/show_bug.cgi?id=17379