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
Unable to view PDF in a webview when a partition attribute is declared #27121
Comments
WorkaroundYou can fix this by making partition persistent (add <webview
partition="persist:partitionName"
src="file:///C:/test.pdf"
></webview> let window = new BrowserWindow({
...
partition: "persist:partitionName"
}) |
Not a fix but an ugly workaround. There are cases when |
@codebytere can you also add 15-x-y and platform/linux labels? Btw, blob url created via URL.createObjectURL and applied to webview is also the case. |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
Still not fixed. |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
Bump, v22.0.2. |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
Still occurs on latest. |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
No. Still not working on latest. |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
No. Still not working on latest. |
there are been tree years now this bug is revealed. I guess the project should focus on what happen, because it is an important feature lots of others project depend on. Thanks for you continuous support. |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
Bump |
bump as well |
Preflight Checklist
Issue Details
I'm trying to display a pdf inside a webview which has its own partition. The PDF plugin is loading (visually I can see the gray PDF background), but no pdf content is displayed. I'm using this code
When I'm using the same code without the partition attribute, everything is working.
Expected Behavior
I should be able to see the pdf content in a webview with a partition set
Actual Behavior
The webview is displaying the pdf plugin surface without the pdf content
To Reproduce
Working html code
Non working html code
https://gist.github.com/c5ea00ef71c18729d002eacad75e49e4
Screenshots
The text was updated successfully, but these errors were encountered: