Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: crash on printer dialog cancellation #33015

Merged
merged 1 commit into from Feb 22, 2022
Merged

fix: crash on printer dialog cancellation #33015

merged 1 commit into from Feb 22, 2022

Conversation

codebytere
Copy link
Member

Backport of #32632.

Closes #32924.

See that PR for details.

Notes: Fixed a crash that occurred when a user attempted to print a document either with window.print(), the print button in the PDF viewer, or with BrowserWindow.webContents() and clicked cancel in the resulting print dialog

@codebytere codebytere requested a review from a team February 21, 2022 09:03
@codebytere codebytere requested a review from a team as a code owner February 21, 2022 09:03
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Feb 21, 2022
@trop trop bot mentioned this pull request Feb 21, 2022
3 tasks
@trop trop bot added 17-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Feb 21, 2022
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Feb 21, 2022
@zcbenz zcbenz merged commit 74cc002 into 17-x-y Feb 22, 2022
@zcbenz zcbenz deleted the fix-print-crash-17 branch February 22, 2022 07:28
@release-clerk
Copy link

release-clerk bot commented Feb 22, 2022

Release Notes Persisted

Fixed a crash that occurred when a user attempted to print a document either with window.print(), the print button in the PDF viewer, or with BrowserWindow.webContents() and clicked cancel in the resulting print dialog

@pushkin-
Copy link

I guess it's too late by this point, but it would have been nice to document that the failure reason "cancelled" changed to "canceled" in a release note.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
17-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants