Silent printing does not work on Linux - Firefox 59.x (print.always_print_silent=true)

NEW
Unassigned

Status

()

P3
normal
9 months ago
15 days ago

People

(Reporter: tomjokiel, Unassigned, NeedInfo)

Tracking

({regression})

59 Branch
x86_64
Linux
regression
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

9 months ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0
Build ID: 20180621125625

Steps to reproduce:

I have set 'print.always_print_silent' to 'true' and tried to print by pressing the 'Ctrl+P' shortcut. If i used a print button in the Firefox UI then print preview window was displayed correctly but then an error occurred when i pressed the actual 'Print' button.


Actual results:

I have got "Print preview error" window with following error:
"An error occurred while printing.​"

When i started the Firefox from the terminal an additional error was displayed:
"IPDL protocol Error: Received an invalid file descriptor"

No job was sent to CUPS.

I was able to reproduce this issue on Gentoo linux and Ubuntu 18.04.

Silent printing works ok under Windows 10 so this problem must be isolated to the linux platform.


Expected results:

Firefox should print the page silently.

Updated

9 months ago
Component: Untriaged → Printing: Output
OS: Unspecified → Linux
Product: Firefox → Core
Hardware: Unspecified → x86_64
(Reporter)

Comment 1

9 months ago
I have investigated a bit further.

Firefox-58.0.2 is the last version where 'silent printing' feature still works.
Breakage must happen between Firefox-58.x and Firefox-59.x.

Please let me know if i could help in any way with resolving this issue.
(Reporter)

Comment 2

9 months ago
Forgot to mention - I'm testing official Firefox builds:
https://ftp.mozilla.org/pub/firefox/releases/

Comment 3

9 months ago
(In reply to TomaszJ from comment #1)
> Breakage must happen between Firefox-58.x and Firefox-59.x.
> 
> Please let me know if i could help in any way with resolving this issue.

If you could find the exact regression range, that would be useful.
https://mozilla.github.io/mozregression/quickstart.html
Has Regression Range: --- → no
Flags: needinfo?(tomjokiel)
Keywords: regression, regressionwindow-wanted
Summary: Silent printing does not work on Linux - Firefox 60.x ESR → Silent printing does not work on Linux - Firefox 59.x
Version: 60 Branch → 59 Branch
(Reporter)

Comment 4

9 months ago
regression-window
According to my tests done with the help of 'mozregression' utility (great tool by the way) the regression occurred here:

12:44.37 INFO: Narrowed inbound regression window from [2a4362ce, a4b21feb] (4 builds) to [2a4362ce, b84fe2ad] (2 builds) (~1 steps left)
12:44.37 INFO: No more inbound revisions, bisection finished.
12:44.37 INFO: Last good revision: 2a4362ce2d9fa82f62909532a1b534d214761341
12:44.37 INFO: First bad revision: b84fe2ad1ca27fc30c2e3f609b8f766185652560

Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=2a4362ce2d9fa82f62909532a1b534d214761341&tochange=b84fe2ad1ca27fc30c2e3f609b8f766185652560 


Please let me know if you need more help.
Flags: needinfo?(tomjokiel)

Comment 5

9 months ago
Thank you for making the effort.

:jwatt, please have a look if you can. Bug 1425641, bug 1425190, and bug 1425188 are in the range.
Has Regression Range: no → yes
Flags: needinfo?(jwatt)
Keywords: regressionwindow-wanted
(Reporter)

Comment 6

8 months ago
Any update on this?

I believe this issue prevents Firefox deployments in many corporate/commercial environments, would be nice to have this feature working again.

Thank you.
Priority: -- → P3
Duplicate of this bug: 1485344
Duplicate of this bug: 1477909
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(jwatt)
Summary: Silent printing does not work on Linux - Firefox 59.x → Silent printing does not work on Linux - Firefox 59.x (print.always_print_silent=true)
Flags: needinfo?(jwatt)
See Also: → bug 1200593
TomaszJ, it would be helpful to know what your other "print.*" prefs are set to. Can you open the page about:support and copy and paste those prefs into an attachment on this bug. It would be helpful if anyone else who's experiencing this could do the same.
Flags: needinfo?(tomjokiel)
(Reporter)

Comment 10

7 months ago
Posted file about-support
Flags: needinfo?(tomjokiel)
(Reporter)

Comment 11

7 months ago
I was able to recreate this issue on a clean Ubuntu live session (18.04). 

a) booted Ubuntu in VirtualBox
b) confirmed that printing to file works
c) opened Firefox and added 'print.always_print_silent' preference through 'about:config'
d) tried to print with 'Ctrl+P'
e) error occurred

No other preferences are manually set or modified.

I have attached requested info to this bug.

Comment 12

22 days ago

I have the same issue with Fedora and Firefox 63: An error dialog or silent failure when print.always_print_silent is true.

Comment 13

15 days ago

Same problem in Ubuntu 16.04. Also happens when using the print() Javascript function.

Comment 14

15 days ago

Forgot to mention: my FF version ist: 65.0.1 (64-bit)

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