Cannot print from eVince when started in Firefox

Bug #62934 reported by Danny Staple
6
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: mozilla-firefox

On Dapper 6.06 LTS, In Firefox 1.5.0.7, when I follow a PDF link, which therefore starts eVince, trying to print leads to eVince hanging.

This is 100% reproducable. I have to kill off eVince by closing the window, and waiting for the "force quit" dialog, or with a kill -9 from the command line.

I can save the file to my filesystem, open it there with eVince, and print fine.

Steps to reproduce
* Start firefox
* Find a page with a link to a PDF
* Follow the link
* File->Print

Expected Results
* Print Dialog Displayed

Actual Results
* eVince will hang
* Needs to killed or force killed.

Reproducability
100% on my system. Will try this in Edgy also tonight.

See Alse
Ticket #1895 - https://launchpad.net/distros/ubuntu/+ticket/1895

description: updated
Revision history for this message
Jeremy Teale (jteale) wrote :

How did you come to the conclusion that this was a Firefox bug?

Revision history for this message
Danny Staple (danny-orionrobots) wrote :

It only crashes this way *if* eVince is started from firefox. If it is started in any other way, this does not occur. I can only conclude that it is some side effect of the environment that firefox uses to run eVince.

Revision history for this message
Jeremy Teale (jteale) wrote :

In terms of env differences, I see that firefox sets
XRE_IMPORT_PROFILES=
NO_EM_RESTART=
XRE_PROFILE_PATH=
XRE_PROFILE_LOCAL_PATH=
XRE_START_OFFLINE=
XUL_APP_FILE=
XRE_BINARY_PATH=
SHLVL=0
MOZ_DISABLE_PANGO=1
MOZ_PLUGIN_PATH=/usr/lib/mozilla-firefox/plugins
LD_LIBRARY_PATH=/usr/lib/firefox:/usr/lib/firefox/plugins:/usr/lib/mozilla-firefox/plugins

But if it's only the print dialog, perhaps this has more to do with libgnomeprintui?

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

What version of eVince do you have installed? I followed your procedure but I'm able to print correctly.

Changed in firefox:
status: Unconfirmed → Needs Info
Revision history for this message
Danny Staple (danny-orionrobots) wrote :

eVince - 0.5.2-0ubuntu3 from dapper-updates/main (gb.archive.ubuntu.com)
libgnomeprintui2.2-0 from dapper/main (gb.archive.ubuntu.com)

My printer(if it is at all relevent) is a HP PSC 1317 USB printer, for which I use the HP PSC 1310 profile, which seems to be fine in all cases.

Also, maybe I should clarify my "any other way" as I have now been able to reproduce it without starting from Firefox. My "any other way" tests were as follows, command line with no parameter, command line with file name parameter and by opening a file from nautilus.

If I add an entry to the applications menu, and start it that way, it appears to crash in the same manner when I try to bring up the print dialog. If I tick the "run in terminal" box for the menu entry and then run it does not crash.

Revision history for this message
Danny Staple (danny-orionrobots) wrote :

Now reproducable by other methods as well as being started from firefox.

Revision history for this message
Danny Staple (danny-orionrobots) wrote :

Additional information:
I have not been able to reproduce this at all on Edgy.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Do you consider the bug fixed then?

Revision history for this message
Danny Staple (danny-orionrobots) wrote :

I will consider this fixed in Edgy. I am setting the status to "fix released".

Changed in evince:
status: Needs Info → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for the update

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.