After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 764641 - Can't render Google Doc generated PDF files with images
Can't render Google Doc generated PDF files with images
Status: RESOLVED NOTGNOME
Product: evince
Classification: Core
Component: PDF
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-04-05 13:03 UTC by Bjørn Lie
Modified: 2016-04-05 15:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test pdf from google-docs (21.47 KB, application/pdf)
2016-04-05 13:03 UTC, Bjørn Lie
Details

Description Bjørn Lie 2016-04-05 13:03:20 UTC
Created attachment 325425 [details]
test pdf from google-docs

We got this bug downstream in openSUSE.

https://bugzilla.opensuse.org/show_bug.cgi?id=973888

I'll just cp in what reporter wrote in our bug:

Renders correctly in the version of Evince that is in Leap, but is rendered as a blank white page in the latest Evince in Tumbleweed.

Hello,

I'm not sure in what revision, but recently Evince has stopped being able to render PDFs with images that are generated by clicking the "Print" button in any of the Google Docs apps. I am attaching a file that renders correctly in the version of Evince that is in Tumbleweed, but which is rendered as a blank white page in the latest Evince in Tumbleweed.

Thanks.

-----

evince-3.20.0

I can add that the pdf renders in gnome-documents and thumbnail is generated correctly in nautilus.
Comment 1 Germán Poo-Caamaño 2016-04-05 13:17:54 UTC
Maybe related to comment https://bugzilla.gnome.org/show_bug.cgi?id=760750#c3

It is strange that evince-thumbnailer work, but not the application.

Which version of poppler are in use in both Leap and Tumbleweed?
Comment 2 Bjørn Lie 2016-04-05 13:21:49 UTC
Leap is using pretty old stuff, so yeah, bisecting will be an issue.

evince-3.14.2
poppler-0.24.4

--
Tumbleweed
evince-3.20.0
poppler-0.42.0
Comment 3 Germán Poo-Caamaño 2016-04-05 14:40:08 UTC
The regression is in poppler.  I can say 0.41.0 renders the document correctly, but it does not on master.

I bisected, and the culprit seems to be:
https://cgit.freedesktop.org/poppler/poppler/commit/?id=57b7a52

Strangely enough, pdftocairo and pdftoppm work fine, but not poppler-glib-demo.

Please, re-open the bug 92508 [1] in Poppler's bugzilla (the commit I pointed is supposed to fix that bug) or open a new one stating the regression.

[1] https://bugs.freedesktop.org/show_bug.cgi?id=92508
Comment 4 Germán Poo-Caamaño 2016-04-05 14:42:25 UTC
Please, add a comment here once you do it. To keep a record of it for future reference.

Other than that, I am closing this one as NOTGNOME as it should tracked in Poppler's bugzilla.
Comment 5 Bjørn Lie 2016-04-05 15:10:02 UTC
First: Thanks a lot for the debugging!

Bug reported to poppler in

https://bugs.freedesktop.org/show_bug.cgi?id=94830


Furthermore I can confirm that reverting the commit pointed out by you fixes the issue.

Thanks again!