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

window.print() causes Electron to crash on Windows 10 #19590

Closed
3 tasks done
mUtterberg opened this issue Aug 2, 2019 · 1 comment
Closed
3 tasks done

window.print() causes Electron to crash on Windows 10 #19590

mUtterberg opened this issue Aug 2, 2019 · 1 comment

Comments

@mUtterberg
Copy link

mUtterberg commented Aug 2, 2019

#Issue Details

  • Electron Version:
    5.0.8 and 6.0.0 (but not 5.0.1 or 4.0.0)
  • Operating System:
    Windows 10
  • Last Known Working Electron version:
    5.0.1

Expected Behavior

App would continue to run after window.print()

Actual Behavior

Print job sends to printer, but Electron crashes and window disappears.

To Reproduce

Repo Link

$ git clone https://github.com/mUtterberg/bug_test
$ npm install
$ .\node_modules\electron\dist\electron.exe .

Printing window in version 5.0.8 (repo default) or 6.0.0 will trigger Electron crash.

It appears to have been fixed in a previous version, as seen in #15188, but the bug has returned in recent versions (listed above).

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.
@mUtterberg mUtterberg changed the title window.print() causes crash window.print() causes Electron to crash on Windows 10 Aug 2, 2019
@codebytere
Copy link
Member

Duplicate of #19539.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants