Bug 198303 - doesn't show anything for a ps.gz file
Summary: doesn't show anything for a ps.gz file
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: PS backend (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-29 17:44 UTC by Jiri Palecek
Modified: 2013-03-10 22:06 UTC (History)
1 user (show)

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


Attachments
Patch that fixes the issue for me (748 bytes, patch)
2009-06-29 19:04 UTC, Jiri Palecek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Palecek 2009-06-29 17:44:46 UTC
Version:            (using KDE 4.2.4)
OS:                Linux
Installed from:    Debian testing/unstable Packages

When I open any .ps.gz file, I don't see any output (ie. the pages are blank).

I have debugged this and it seems Qt needs the (unused) alpha component to be 0xff. Setting it to 0xff solved the problem.
Comment 1 Pino Toscano 2009-06-29 18:20:21 UTC
Can you please attach a sample document showing the issue?
Which version of Qt and libspectre do you have?
Comment 2 Jiri Palecek 2009-06-29 18:34:01 UTC
Any document shows the issue for me. Qt: 4.5.1, libspectre 0.2.2.
Comment 3 Pino Toscano 2009-06-29 18:40:47 UTC
Open kdebugdialog and make sure to have all the okular debug areas activated.
Then, start Okular in a terminal like `okular somefile.ps.gz`, and then please attach the output.
Comment 4 Jiri Palecek 2009-06-29 19:04:46 UTC
Created attachment 34915 [details]
Patch that fixes the issue for me
Comment 5 Jiri Palecek 2009-06-29 19:31:02 UTC
If you think it'll help you...

okular(1365): Attempt to use QAction "bookmark_action_0" with KXMLGUIFactory!
okular(1365)/okular (Spectre) GSGenerator::loadDocument: Page count: 153
okular(1365)/okular (app) Okular::Document::requestPixmaps: request id=4 260x336@7
okular(1365)/okular (app) Okular::Document::requestPixmaps: request id=4 260x336@8
okular(1365)/okular (app) Okular::Document::requestPixmaps: request id=4 260x336@9
okular(1365)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=4 260x336@7 async == true
okular(1365)/okular (Spectre) GSGenerator::generatePixmap: receiving Async PixmapRequest (id: 4) (260x336), prio 2, pageNo 7
okular(1365)/okular (app) Okular::Document::requestPixmaps: request id=3 1127x1459@8
okular(1365)/okular (app) Okular::Document::requestPixmaps: request id=3 1127x1459@9
okular(1365)/okular (app) Okular::Document::requestPixmaps: request id=3 1127x1459@7
okular(1365)/okular (app) Okular::Document::requestPixmaps: request id=4 260x336@7
okular(1365)/okular (app) Okular::Document::requestPixmaps: request id=4 260x336@8
okular(1365)/okular (app) Okular::Document::requestPixmaps: request id=4 260x336@9
okular(1365)/okular (app) Okular::Document::requestPixmaps: request id=3 1127x1459@8
okular(1365)/okular (app) Okular::Document::requestPixmaps: request id=3 1127x1459@9
okular(1365)/okular (app) Okular::Document::requestPixmaps: request id=3 1127x1459@7
okular(1365)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 1127x1459@8 async == true
okular(1365)/okular (Spectre) GSGenerator::generatePixmap: receiving Async PixmapRequest (id: 3) (1127x1459), prio 1, pageNo 8
okular(1365)/okular (app) Okular::Document::requestPixmaps: request id=3 1127x1458@8
okular(1365)/okular (app) Okular::Document::requestPixmaps: request id=3 1127x1459@9
okular(1365)/okular (app) Okular::Document::requestPixmaps: request id=3 1127x1459@7
okular(1365)/okular (app) Okular::Document::requestPixmaps: request id=3 1127x1458@8
okular(1365)/okular (app) Okular::Document::requestPixmaps: request id=3 1127x1459@9
okular(1365)/okular (app) Okular::Document::requestPixmaps: request id=3 1127x1459@7
okular(1365)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 1127x1458@8 async == true
okular(1365)/okular (Spectre) GSGenerator::generatePixmap: receiving Async PixmapRequest (id: 3) (1127x1458), prio 1, pageNo 8
okular(1365)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=4 260x336@8 async == true
okular(1365)/okular (Spectre) GSGenerator::generatePixmap: receiving Async PixmapRequest (id: 4) (260x336), prio 2, pageNo 8
okular(1365)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=4 260x336@9 async == true
okular(1365)/okular (Spectre) GSGenerator::generatePixmap: receiving Async PixmapRequest (id: 4) (260x336), prio 2, pageNo 9
okular(1365)/okular (app) Okular::Document::requestPixmaps: request id=3 1127x1458@9
okular(1365)/okular (app) Okular::Document::requestPixmaps: request id=3 1127x1459@7
okular(1365)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 1127x1458@9 async == true
okular(1365)/okular (Spectre) GSGenerator::generatePixmap: receiving Async PixmapRequest (id: 3) (1127x1458), prio 4, pageNo 9
okular(1365)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 1127x1459@7 async == true
okular(1365)/okular (Spectre) GSGenerator::generatePixmap: receiving Async PixmapRequest (id: 3) (1127x1459), prio 4, pageNo 7
Comment 6 Albert Astals Cid 2013-03-10 22:06:39 UTC
This should be fixed in Okular shipped with KDE SC >= 4.9.2 Please try there and make sure it works for you. Sorry it took so long to fix :-)