Printing sometimes fails (printBrowser.currentURI is null).
Categories
(Thunderbird :: General, defect)
Tracking
(thunderbird_esr102 unaffected, thunderbird114 fixed)
Tracking | Status | |
---|---|---|
thunderbird_esr102 | --- | unaffected |
thunderbird114 | --- | fixed |
People
(Reporter: steve, Assigned: mkmelin)
References
Details
(Keywords: regression, Whiteboard: [Supernova3p])
Attachments
(2 files)
49.16 KB,
image/png
|
Details | |
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
|
Details | Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0
Steps to reproduce:
112.0b1 KDE on Opensuse.
Select message
File>Print or press Print button
Actual results:
Dialogue but no printing first click.
No dialogue or printing second click
Expected results:
Message printed.
Reporter | ||
Updated•2 years ago
|
Comment 1•2 years ago
|
||
I'm not able to reproduce on Linux x64 Arch/GNOME.
Used File->Print, the Print button, and the context menu. Dialog appeared as usual and I was able to print to PDF.
Control-P also fails. Window appears, spinning, never completes. Win 11 64 bit English Thunderbird 112.0b1 smoke test
Assignee | ||
Comment 3•2 years ago
|
||
I've found it to be generally working, but intermittently fails. Haven't figured out what makes it fail, but I think it's related to trying to print more than once, and/or doing something inbetween the printing attempts.
Updated•2 years ago
|
Comment 4•2 years ago
|
||
(In reply to doug2 from comment #2)
Control-P also fails. Window appears, spinning, never completes. Win 11 64 bit English Thunderbird 112.0b1 smoke test
Printing is wfm on on Win11 with Beta 112.0b3 (64-bit). Doug2, does this still fail for you on the latest Beta?
Comment 5•2 years ago
|
||
(In reply to Steve Edmonds from comment #0)
Actual results:
Dialogue but no printing first click.
No dialogue or printing second click
Steve, does this still fail for you on Linux with latest Beta 112.0b3 (64-bit)?
Reporter | ||
Comment 6•2 years ago
|
||
No, and yes with a work around.
No - Viewing a message in normal message view, ctl-p, File>Print, right-click message>Print, all fail
Yes - save the message to HD (File>Save as>File), open the message (File>Open>Open saved message) and it prints normally.
Reporter | ||
Comment 7•2 years ago
|
||
Wrong logic, Yes and No. It still fails without the work around.
Reporter | ||
Comment 8•2 years ago
|
||
A clarification of the topic, normal printing always fails and I never get a dialogue (112.0b3)
If I open a saved message File>Open>Open saved message this message opens in a new tab.
While this tab is present, printing any other messages from any folders works normally.
After closing this tab showing the saved message I no longer get the dialogue or can print except for the 1 message that was selected (from inbox or other folder) when I closed the tab with the email opened from file.
Yes, printing with CTRL-P still fails on Win 11 with TB 112.0b3. A sub-window opens and "spins" and never proceeds.
Assignee | ||
Comment 10•2 years ago
|
||
Sub window? Are you using the setting to print without print preview?
Reporter | ||
Comment 11•2 years ago
|
||
Is that print.tab_modal.enabled to disable print preview? This makes no difference to me
Reporter | ||
Comment 12•2 years ago
|
||
(In reply to Steve Edmonds from comment #8)
A clarification of the topic, normal printing always fails and I never get a dialogue (112.0b3)
If I open a saved message File>Open>Open saved message this message opens in a new tab.
While this tab is present, printing any other messages from any folders works normally.
After closing this tab showing the saved message I no longer get the dialogue or can print except for the 1 message that was selected (from inbox or other folder) when I closed the tab with the email opened from file.
I have found the message does not need to be a saved message.
The above is also true if I right click a message in my folder messages list and "Open in new tab". With that tab with a message I can print any message. Close the tab and I can no longer print.
Updated•2 years ago
|
Comment 13•2 years ago
|
||
This should be fixed on Daily. I suspect it's a duplicate of bug 1819777.
Reporter | ||
Comment 14•2 years ago
|
||
Seems fixed in 112.0b7
Comment 15•2 years ago
|
||
Not working for me. 112.0b7 64bit Win 11 US Eng. CTRL-P just spins. Stopped & restarted TB, tried several different types of mail.
Comment 16•2 years ago
|
||
Right click menu print does not work either.
Reporter | ||
Comment 17•2 years ago
|
||
Right click menu print, CTRL-P, File>Print all work on openSuse
Comment 19•2 years ago
|
||
TB 113.0b3, Windows 11 64 bit. Yes, printing "spins" and never brings up a dialog 99% of the time. I have had it work once since 113.0b1. Cntrl-P, File/Print from main window and from an open mail window.
Updated•2 years ago
|
Comment 20•2 years ago
|
||
Aureliano, caspy,
Can you get this to fail? (multiple attempts)
Comment 21•2 years ago
|
||
On beta channel, sometime I cannot print but I cannot figure out why
this is the message in error-console
Uncaught (in promise) TypeError: printBrowser.currentURI is null
loadPrintBrowser chrome://messenger/content/printUtils.js:105
<anonymous> chrome://messenger/content/about3Pane.js:5120
doCommand chrome://messenger/content/mailCommon.js:647
goDoCommand chrome://messenger/content/globalOverlay.js:100
oncommand chrome://messenger/content/messenger.xhtml:1
printUtils.js:105:9
I'm on Windows 11
Comment 22•2 years ago
|
||
114.0b1 Windows 11, 64 bit. Printing Fails 100% Always spins forever.
Comment 23•2 years ago
|
||
Error console.
Reporter | ||
Comment 24•2 years ago
|
||
In openSuse Leap 14.4 I get the dialogue and can print, but get the following console message.
[Parent 1906, Main Thread] WARNING: g_object_ref: assertion 'G_IS_OBJECT (object)' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167
(thunderbird-beta:1906): GLib-GObject-CRITICAL **: 07:09:28.742: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
Assignee | ||
Comment 25•2 years ago
|
||
I can't reproduce the error but will submit a patch that seems it could fix it, based on the errors in the console.
Assignee | ||
Comment 26•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Comment 27•2 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/87e11ddfbd6c
Try to fix "printing sometimes fails" (printBrowser.currentURI is null). r=darktrojan
Comment 28•2 years ago
|
||
Comment on attachment 9333546 [details]
Bug 1822655 - Try to fix "printing sometimes fails" (printBrowser.currentURI is null). r=#thunderbird-reviewers
[Triage Comment]
Approved for beta
Comment 29•2 years ago
|
||
bugherder uplift |
Thunderbird 114.0b3:
https://hg.mozilla.org/releases/comm-beta/rev/e7253fcfbc7e
Reporter | ||
Comment 30•2 years ago
|
||
Printing now fails in 114.0b3 on Leap 15.4, 114.0b1 still working fine
Assignee | ||
Comment 31•2 years ago
|
||
This bug should have fixed the issue :Aureliano came across.
The case for doug2 may be different, as well as your case.
If you still see an issue, please file a new bug and paste any console errors you may see.
I'd be very surprised if this bug made anything worse.
Assignee | ||
Updated•2 years ago
|
Description
•