Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 591051 - Evince cannot be opened in preview mode
Summary: Evince cannot be opened in preview mode
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: evince
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Marek Kašík
QA Contact: desktop-bugs@redhat.com
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-11 10:20 UTC by Vladimir Benes
Modified: 2010-07-02 19:04 UTC (History)
1 user (show)

Fixed In Version: evince-2.28.2-9.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-07-02 19:04:37 UTC
Target Upstream Version:

Attachments (Terms of Use)
evince window after --preview option used (18.68 KB, image/png)
2010-05-11 10:55 UTC, Vladimir Benes
no flags Details
relative path patch (561 bytes, patch)
2010-05-12 12:30 UTC, Marek Kašík
no flags Details | Diff

Description Vladimir Benes 2010-05-11 10:20:48 UTC
Description of problem:
If I run evince with --preview option from command line I see this error:
evince-previewer:3193): EvinceDocument-CRITICAL **: ev_document_factory_get_document: assertion `uri != NULL' failed

** (evince-previewer:3193): CRITICAL **: ev_previewer_window_set_document: assertion `EV_IS_DOCUMENT (document)' failed

Picture of Evince attached

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.in terminal execute: evince --preview your_pdf.pdf

Actual results:
error in terminal and just Loading... sign in evince window

Expected results:
correct preview of pdf file

Additional info:

Comment 1 RHEL Program Management 2010-05-11 10:33:05 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for

Comment 2 Vladimir Benes 2010-05-11 10:55:34 UTC
Created attachment 413092 [details]
evince window after --preview option used

Comment 3 Marek Kašík 2010-05-12 12:30:46 UTC
Created attachment 413413 [details]
relative path patch


I see the problem now. The evince-previewer (evince --preview) doesn't expand gi
ven relative path to an absolute path before converting it to an URI. Attached is a small patch which fixes this.



Comment 4 Vladimir Benes 2010-05-12 16:13:20 UTC
verified on x86_64
now it shows preview correctly..

Comment 6 Vladimir Benes 2010-06-09 12:47:54 UTC
evince-2.28.2-12.el6 works as expected

Comment 7 releng-rhel@redhat.com 2010-07-02 19:04:37 UTC
Red Hat Enterprise Linux Beta 2 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

Note You need to log in before you can comment on or make changes to this bug.