Closed
Bug 2076335
Opened 12 hours ago
Closed 5 hours ago
Printing multiple messages happens even if you cancel the print dialog
Categories
(Thunderbird :: General, defect)
Thunderbird
General
Tracking
(thunderbird_esr153 affected)
RESOLVED
FIXED
159 Branch
| Tracking | Status | |
|---|---|---|
| thunderbird_esr153 | --- | affected |
People
(Reporter: darktrojan, Assigned: darktrojan)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
Select two messages, go to File > Print, cancel. Two messages are printed.
From about3Pane.js:
Cc["@mozilla.org/widget/printdialog-service;1"]
.getService(Ci.nsIPrintDialogService)
.showPrintDialog(window, false, ps);
if (ps.isCancelled) {
return;
}
showPrintDialog is now async (bug 2035195), and we are not awaiting it, so we don't get the NS_ERROR_ABORT it throws, and isCancelled disappeared four years ago (bug 1766651).
| Assignee | ||
Comment 1•12 hours ago
|
||
Comment 2•12 hours ago
|
||
Does the same thing happen for you with print to pdf? Cancel print to pdf is WFM on mac daily. Ditto for contacts, which is Bug 1336368 - Clicking "Cancel" on "Print Contacts" dialog prints contacts nevertheless
There is also a very old Bug 87474 - Only first print job is prompted for print or cancel
| Assignee | ||
Updated•8 hours ago
|
Keywords: checkin-needed-tb
Target Milestone: --- → 159 Branch
Pushed by john@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/f6e29f2f3923
Await showPrintDialog when printing multiple messages. r=mkmelin
You need to log in
before you can comment on or make changes to this bug.
Description
•