Calendar printing not possible - maybe a regression by Bug 1724090
Categories
(Calendar :: Printing, defect)
Tracking
(thunderbird_esr91+ verified, thunderbird95 verified)
People
(Reporter: Thunderbird_Mail_DE, Assigned: darktrojan)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr91+
|
Details | Review |
In Thunderbird 91.3.2 it isn't possible to print calendars. Finally clicking the print button in the print dialog throws a javascript error in print.js in line 254:
Uncaught (in promise) TypeError: cancelButton is null
init chrome://global/content/print.js:254
handleEvent chrome://global/content/print.js:1665
print.js:254:1
STR:
Open a calendar tab.
Open the print dialog → Forward to 2nd page of print dialog → Click "Print".
Nothing happens / error is in console
It seems the JS code still refers to the "Cancel" button, which has been changed to the "Back" button in 91.3.2
Reporter | ||
Updated•3 years ago
|
Comment 1•3 years ago
|
||
Reporter | ||
Comment 2•3 years ago
|
||
The provided patch states, that the buttons ID should be maintained: "We need to maintain the ID since M-C code refers to it."
IMHO we should restore the complete Cancel button and have the Back button as an additional 3rd button, if this would be possible in the dialog.
Reasons for this opinion:
*The confusion about IDs in JavaScript code because you are dependent on MC code
*It is confusing for users to not have the "Cancel" button in the dialog. Users must first come up with the idea of clicking Back and only then being able to click Cancel.
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Comment 4•3 years ago
|
||
This feels ugly but Alex is probably right about keeping the cancel button.
Reporter | ||
Comment 5•3 years ago
|
||
Your patch seems to impelment the "Back" button in the first dialog, but it should only be in the 2nd / final dialog?
And yes, it looks really ugly :-(
Comment 6•3 years ago
|
||
I'm seeing this in using 95.0b4 on Fedora 34 Workstation, Gnome 40 desktop.
Error console output.
15:30:00.515 Uncaught (in promise) TypeError: cancelButton is null
init chrome://global/content/print.js:254
handleEvent chrome://global/content/print.js:1681
print.js:254:1
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/4b787679e37c
Keep the cancel button as well as the back button when printing the calendar. r=mkmelin,aleca
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 8•3 years ago
|
||
Comment on attachment 9251817 [details]
Bug 1742158 - Keep the cancel button as well as the back button when printing the calendar. r=mkmelin
[Approval Request Comment]
Regression caused by (bug #): bug 1724090
User impact if declined: can't print calendar at all
Testing completed (on c-c, etc.): landed today but somewhat urgent
Risk to taking this patch (and alternatives if risky): low, but then again I probably said that about the patch that caused this
Comment 10•3 years ago
|
||
Comment on attachment 9251817 [details]
Bug 1742158 - Keep the cancel button as well as the back button when printing the calendar. r=mkmelin
[Triage Comment]
Approved for beta
Comment 11•3 years ago
|
||
Comment on attachment 9251817 [details]
Bug 1742158 - Keep the cancel button as well as the back button when printing the calendar. r=mkmelin
[Triage Comment]
Approved for ers91
Comment 12•3 years ago
|
||
bugherder uplift |
Thunderbird 95.0b5:
https://hg.mozilla.org/releases/comm-beta/rev/28ac327071c4
Comment 13•3 years ago
|
||
bugherder uplift |
Thunderbird 91.4.0:
https://hg.mozilla.org/releases/comm-esr91/rev/f1c33cf39ee9
Comment 16•3 years ago
|
||
Verified in testing 91.4.0 and 95.0b5 on Windows 10 and Fedora 35 Workstation Linux.
Description
•