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.
Can you please attach a sample document showing the issue? Which version of Qt and libspectre do you have?
Any document shows the issue for me. Qt: 4.5.1, libspectre 0.2.2.
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.
Created attachment 34915 [details] Patch that fixes the issue for me
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
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 :-)