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
Enable PDF Viewer #12337
Comments
This should be ready to test out in the next 10.x nightly. I'm hoping to backport to 9.x as well, though it may not end up sticking if it causes issues. |
OH MY GOD THANK YOU SO MUCH YOU BEAUTIFUL BEAUTIFUL PERSON!!
|
I can confirm that in latest nightly build (10.0.0-nightly.20200216) PDF viewer works again. Thanks for hard work to everyone involved. |
Thank you for this long-awaited feature! |
In my app, PDF print still does not work. I'm getting these errors "ipc_message_attachment_set.cc MessageAttachmentSet destroyed with unconsumed attachments" |
Hi @nornagon .... I confirmed that PDF viewer works and my part of the bounty is yours! Could I request that the download and print functionality be fixed as well? |
@nornagon thanks for fixing the PDF. I saw that it's supposed to be in Electron 9.0.0-beta.2 unfortunately i only get a grey background and 3 icons when i try to load a PDF file. |
I'm not sure what to do with the bounty on my end, when i tried it with electron-nightly@10.0.0-nightly.20200218 and I assume I hit bug #22286 |
@pbmzero do you have a link to the pdf you're having trouble with? https://gist.github.com/248085f4c2376e9211479f2d09634050 this works for me in 10.0.0-nightly.20200218. |
@nornagon Ok it worked if i loaded the PDF directly like you showed in your code snippet. I expected that it would work inside iframe per this example: https://www.w3docs.com/tools/code-editor/1087 |
This example works for me in an iframe: https://gist.github.com/c097b618d2c1cfccf99c6a80fb15c550 |
@nornagon Indeed it works. I'll go ahead and release bounty. Hoping this sticks! |
For me electron-nightly@10.0.0-nightly.20200221 is working perfectly for six PDF view cases I've got -- this is excellent work, many thanks! Just hoping to get print feature. |
I've tried latest 9.0.0 build (beta 3) and pdf preview is working for me now. Thanks again! |
Any idea when version 9.0.0 beta 3 or greater (even version 10) will become an official release? |
@waltder Electron 9 stable date has been moved to Chromium's M83 stable date, May 19th. There is a PR in process here electron/electronjs.org-old#3770 to update the website. |
@jkleinsc Thanks for the info. |
Will the print and download features be fixed any time soon? |
Hello! i'm using Electron 9.0.5 stable but when i try opening a pdf it's a grey screen. Am i missing something? |
Hi, |
This seems to be broken on 18.0.3. Seems to work fine on 17.4.0 though |
It was disabled during the Chromium 63 upgrade in #11459.
Please turn
enable_pdf_viewer
flag in the features.gypi on, fix compilation and tests.The text was updated successfully, but these errors were encountered: