Bug 368588 - Okular preview of certain PDF documents shows empty pages with Okular logo only
Summary: Okular preview of certain PDF documents shows empty pages with Okular logo only
Status: REOPENED
Alias: None
Product: okular
Classification: Applications
Component: printing (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL: https://bugs.kde.org/show_bug.cgi?id=...
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-09-11 11:31 UTC by han_in_nederland
Modified: 2019-03-25 19:25 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
PDF document showing empty print preview (297.26 KB, application/pdf)
2016-09-11 11:33 UTC, han_in_nederland
Details

Note You need to log in before you can comment on or make changes to this bug.
Description han_in_nederland 2016-09-11 11:31:41 UTC
When I open certain PDF files in print preview I see only blank pages with an Okular logo.
The document will not print either.

This seems to be very similar to Bug 337527, which shows as solved.



Reproducible: Always

Steps to Reproduce:
1. Open PDF document in Okular
2. Do <File> <Print Preview>

Actual Results:  
When I start Okular in a terminal session and do a print preview, the following messages are generated:

rangecheck -15
rangecheck -15
okular(8419)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [90x127]
QImage::scaled: Image is a null image
rangecheck -15
rangecheck -15
okular(8419)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [554x783]
QImage::scaled: Image is a null image
rangecheck -15
rangecheck -15
okular(8419)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [80x113]
QImage::scaled: Image is a null image



Expected Results:  
Preview of the PDF document.
Print output on the printer.

According to the document properties, the format is PDF v. 1.5
The document contains fully embedded true-type fonts.

If I do pdftops <documentname>.pdf in a terminal no output is generated.

I am Suse Leap 42.1
Kernel: 4.1.27-27-default x86_64 (64 bit)
Comment 1 han_in_nederland 2016-09-11 11:33:17 UTC
Created attachment 101033 [details]
PDF document showing empty print preview
Comment 2 Burkhard Lück 2016-09-11 12:14:49 UTC
$ okular --version
Qt: 4.8.7
KDE: 4.14.16
Okular: 0.24.2
$ pdftotext -v
pdftotext version 0.41.0

Content of attached pdf is properly displayed for me
Comment 3 Christoph Feck 2016-09-11 13:43:27 UTC
Trying to show a print preview, my version of ghostscript simply crashed.
Comment 4 han_in_nederland 2016-09-11 14:00:57 UTC
These are the version on my system:-
$ okular --version
Qt: 4.8.6
KDE Development Platform: 4.14.18
Okular: 0.24.2

$ pdftotext -v
pdftotext version 0.24.4
Copyright 2005-2013 The Poppler Developers - http://poppler.freedesktop.org
Copyright 1996-2011 Glyph & Cog, LLC
Comment 5 Albert Astals Cid 2016-10-01 13:15:10 UTC
Which gs and libspectre versions do you guys have?
Comment 6 Burkhard Lück 2016-10-04 16:25:08 UTC
GPL Ghostscript 9.18 (2015-10-05)
libspectre1 0.2.7-3ubuntu2
Comment 7 han_in_nederland 2016-10-17 09:22:27 UTC
ghostscript-9.15-5.1.x86_64
libspectre1-0.2.7-13.1.x86_64
Comment 8 Andrew Crouthamel 2018-09-26 22:12:01 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Andrew Crouthamel 2018-10-27 03:36:17 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 10 Patrick Silva 2019-03-25 19:25:23 UTC
Bug persists with okular 1.6.3, ghostscript 9.26, libspectre 0.2.8.

Operating System: Arch Linux 
KDE Plasma Version: 5.15.3
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2