You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
17.0.0
What operating system are you using?
macOS
Operating System Version
macOS Monterey Version 12.1
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
No response
Expected Behavior
Electron freezes/crashes after the user either save or print a page with a pdf.
Actual Behavior
Electron application freezes/crashes.
Theres no workaround except closing and reopening application
Testcase Gist URL
No response
Additional Information
Electron app freezes/crashes when a user tries to save or print a page that has pdf file.
The pdf is render inside a iframe.
There's no error logs that displays inside console or terminal.
The issue is happening on mac and window.
I was able to reproduce the issue with a simple electron app. Please look at the code example below for details.
Steps to reproduce:
Requirements: Need 2 pdfs display inside 2 different pages
Open up home page with a pdf that is display
Navigate to a second page with a pdf
Open up the print dialog
Either save or print pdf
index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'">
<link href="./styles.css" rel="stylesheet">
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
We are using Node.js <span id="node-version"></span>,
Chromium <span id="chrome-version"></span>,
and Electron <span id="electron-version"></span>.
<!-- You can also require other files to run in this process -->
<script src="./renderer.js"></script>
<iframe src="http://www.africau.edu/images/default/sample.pdf"></iframe>
<a href='secondpage.html'>Click this button</a>
</body>
</html>
Preflight Checklist
Electron Version
17.0.0
What operating system are you using?
macOS
Operating System Version
macOS Monterey Version 12.1
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
No response
Expected Behavior
Electron freezes/crashes after the user either save or print a page with a pdf.
Actual Behavior
Electron application freezes/crashes.
Theres no workaround except closing and reopening application
Testcase Gist URL
No response
Additional Information
Electron app freezes/crashes when a user tries to save or print a page that has pdf file.
The pdf is render inside a
iframe
.There's no error logs that displays inside console or terminal.
The issue is happening on mac and window.
I was able to reproduce the issue with a simple electron app. Please look at the code example below for details.
Steps to reproduce:
Requirements: Need 2 pdfs display inside 2 different pages
index.html
secondpage.html
The text was updated successfully, but these errors were encountered: