Version: (using KDE 4.4.1) Installed from: openSUSE RPMs Okular displays only the last page of PostScript files which lack a %%Page: comment. Reproducibility: Always Steps to reproduce: 1. $ ls -l /usr/bin | enscript -p ls.ps 2. $ grep -v '^%%Page' ls.ps > ls-nopage.ps 3. $ okular ls-nopage.ps Observed behaviour: 4. Okular displays only the last page of ls-nopage.ps. Expected behaviour: 4. Okular should have displayed all the pages of ls-nopage.ps, the same way it does when it displays ls.ps. Note that this was previously reported for kghostview as Bug 23970.
Oh, and note that this isn't a contrived example—there are published PostScript files out there in the wild which lack %%Page: comments.
This is a bug of the library we use for reading PostScript files, called libspectre. https://bugs.freedesktop.org/show_bug.cgi?id=17241
*** Bug 23970 has been marked as a duplicate of this bug. ***