Closed Bug 1164563 Opened 9 years ago Closed 8 years ago

Ubuntu 14.04 silent print to PDF hangs the browser when CUPS is disabled

Categories

(Core :: Printing: Setup, defect)

37 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: am5050, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0
Build ID: 20150125222008

Steps to reproduce:

I'm using 64bit Ubuntu 14.04 with Firefox 37.02

Turn off CUPS:

sudo service cups stop

Add hidden preference for silent print:

print.always_print_silent;true

Print a page


Actual results:

No pdf output, second print attempt generates error popup.  Print process is hung, and browser needs a hard kill to be relaunched.


Expected results:

mozilla.pdf in $HOME

I discovered this with an addon that generates a pdf silently.  The code is similar to this:

https://dxr.mozilla.org/mozilla-central/source/toolkit/components/jsdownloads/src/DownloadCore.jsm#2654

I suspect that will fail with CUPS off as well, but I don't know how that code is reached.

The code worked fine in Ubuntu 10.04 and Ubuntu 12.04.

The failure does not occur with Firefox 28 (which is installed with the base Ubuntu 14.04 system).  I have not tried any other dist.
Printing works fine if not silenced, btw. If the user interacts with the gtk print dialog and selects the Print to File driver, it will generate the pdf whether or not cups is enabled.
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Component: Untriaged → Printing: Setup
Product: Firefox → Core
Hello Adam,

Are you still encountering this problem on Firefox 42.0 or Nightly 46.0a1?

I am not able to reproduce this bug.

Name 	        Firefox
Version 	42.0
Build ID 	20151030084315
Update History 	
Update Channel 	nightly
User Agent 	Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

Thank you,

Justin
Flags: needinfo?(am5050)
Closing this bug due to lack of response from the reporter.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Flags: needinfo?(am5050)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.