When the accessibility option "Change Colors: Invert colors", .ps files just show up as a black screen. It flashes the correct content and then dissapears. The interesting part is that the "preview" (in the navigation panel) shows up correctly. This happens to all the .ps files I have tried, in multiple versions of okular and multiple computers. Reproducible: Always Steps to Reproduce: 1. Go to Settings->Configure Okular->Accessibility and check Change Colors->Invert Colors 2. Open a .ps file Actual Results: A flicker of the correct inverted content, then blackness... Expected Results: The correct content (inverted)
Seems QPainter doesn't know how to paint in an Format_ARGB32_Premultiplied QImage when the pixmap we are painting is RGB32. I need to investigate a bit more
Git commit 8b438bf933ee9b6663f5a6e14698dad3f69d9c13 by Albert Astals Cid. Committed on 09/09/2012 at 00:18. Pushed by aacid into branch 'KDE/4.9'. Qt needs the missing alpha of QImage::Format_RGB32 to be 0xff FIXED-IN: 4.9.2 M +7 -0 generators/spectre/rendererthread.cpp http://commits.kde.org/okular/8b438bf933ee9b6663f5a6e14698dad3f69d9c13