Closed
Bug 1425895
Opened 7 years ago
Closed 7 years ago
Daily 59.0a1 (2017-12-18) (64-bit) Prints Only a Blank Page (Windows only)
Categories
(MailNews Core :: Printing, defect)
Tracking
(thunderbird59 affected)
RESOLVED
FIXED
Thunderbird 59.0
Tracking | Status | |
---|---|---|
thunderbird59 | --- | affected |
People
(Reporter: WoofGrrrr, Assigned: Paenglab)
References
Details
(Keywords: regression, reproducible)
Attachments
(1 file)
2.26 KB,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20171206182557
Steps to reproduce:
I try to print any email message and, each time, only a (one) blank page comes out. I did try using Safe Mode. I have also completely deleted and re-installed the Printer.
Daily 59.0a1 (2017-12-18) (64-bit)
I have TWO printers. I have tried both of them. Same result. One is an Epson Color Inkjet, the other is a Brother B&W Laser.
Actual results:
Only a (one) blank page gets printed.
Expected results:
The email should have been printed.
Comment 1•7 years ago
|
||
Confirmed, I also can't print to PDF. Alice could you please find the regression for us.
Status: UNCONFIRMED → NEW
Component: Untriaged → Printing
Ever confirmed: true
Flags: needinfo?(alice0775)
Product: Thunderbird → MailNews Core
![]() |
||
Comment 2•7 years ago
|
||
I can reproduce the problem on windows10.
Regression window:
https://hg.mozilla.org/comm-central/pushloghtml?fromchange=5534aed3ebb2c65678c0bcffe3c16eae7122cb6c&tochange=fbac67197f7b16e924aaf4210658d10be47a5312
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=a44e04c26913c97a61375a6fcd5867b965e1ce2a&tochange=57950b4441666646efcb569807e0efb2cf3eda21
Suspect: Bug 1399787
Blocks: 1399787
status-thunderbird59:
--- → affected
Flags: needinfo?(alice0775)
Keywords: regression,
reproducible
![]() |
||
Comment 3•7 years ago
|
||
(We should switch m-c to chromium to avoid the such regression.)
Comment 4•7 years ago
|
||
Thanks Alice!
C.J. and Jonathan: Can you please advise us what we need to do/port/adapt in Thunderbird to get printing going again.
Our print code is here:
https://dxr.mozilla.org/comm-central/source/mailnews/base/src/nsMsgPrintEngine.cpp
and related files: https://dxr.mozilla.org/comm-central/search?q=file%3Amsgprint&redirect=true
Flags: needinfo?(jwatt)
Flags: needinfo?(cku)
![]() |
||
Comment 5•7 years ago
|
||
on local build,
last good: e38c56824a75
first bad: a3362670656e
Comment 6•7 years ago
|
||
Thank you, so that would make https://hg.mozilla.org/mozilla-central/rev/a3362670656e the offender. That appears to be a Windows only patch. Does printing still work in Daily on Mac or Linux?
Flags: needinfo?(richard.marti)
Assignee | ||
Comment 7•7 years ago
|
||
Mac prints correctly to a printer. I tested Linux only to PDF and this worked.
Flags: needinfo?(richard.marti)
Hi Mark/Jorg,
We create PrintTargetEMF only if mPrintViaSkPDF is true[1]. And I do not expect mPrintViaSkPDF being 'true' in m-c. Can you set a breakpoint inside nsDeviceContextSpecWin, and see why we get 'mPrintViaSkPDF == true' in your env?
[1] https://hg.mozilla.org/mozilla-central/file/a3362670656e/widget/windows/nsDeviceContextSpecWin.cpp#l209
Comment 9•7 years ago
|
||
Hi C.J., thanks for the comment.
I started looking at the problem and it turns out that with my local debug build of 2017-12-21 I *can* actually print. I tried a few server builds (of 21st and 24th), both opt and debug and they all don't print.
In cases like this, it's most likely a packaging error, so the server builds are missing something that we need to add to our package-manifest.in.
C.J., are there any packages that we need now for printing they might not be included in TB? Bug 1399787 didn't add to the package manifest, but something might already be included in FF that's not in TB. Or there's a mozconfig option missing or wrong.
Richard, you have a local Windows opt build, does that print?
Flags: needinfo?(richard.marti)
OS: Unspecified → Windows
Hardware: Unspecified → All
Summary: Daily 59.0a1 (2017-12-18) (64-bit) Prints Only a Blank Page → Daily 59.0a1 (2017-12-18) (64-bit) Prints Only a Blank Page (Windows only)
Comment 11•7 years ago
|
||
Bug 1399787 used a dll which was added into package manifest month ago in
https://hg.mozilla.org/mozilla-central/rev/68db42ac8c23
Assignee | ||
Comment 12•7 years ago
|
||
Thank you C.J. This fixes the printing issue.
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Flags: needinfo?(jwatt)
Flags: needinfo?(cku)
Attachment #8938854 -
Flags: review?(jorgk)
Comment 13•7 years ago
|
||
Comment on attachment 8938854 [details] [diff] [review]
pdfium.dll.patch
Nice. Thanks, landing now.
Attachment #8938854 -
Flags: review?(jorgk) → review+
Comment 14•7 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/9edc25fc05b9
Add pdfium.dll to package manifests to make printing work again under Windows. r=jorgk
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Target Milestone: --- → Thunderbird 59.0
You need to log in
before you can comment on or make changes to this bug.
Description
•