Wondoe.open() of pdf in electron app causes download






















I got the error message that cannot show file. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams?

Collectives on Stack Overflow. Learn more. Make electron app allow pdf file downloading from local file system Ask Question.

Asked 4 years, 7 months ago. Active 7 months ago. Viewed 1k times. My application works like: User download zipped folder from the website this folder contain all the data user need, like html, content, and pdf's User drop the zipped folder onto electron app to see all the downloaded content Now there's download file button which imitate the action of downloading file from server however, to make optimum utilization of server resources I zipped all the requried content into single zipped folder which user already downloaded to prevent server round trips Now I want to show those locally saved pdf's inside user data folder I tried window.

Also seeing this issue. Window freezes when trying to print from a PDF preview. Printing anything else is working fine. Using Electron Using Phillips 's suggestion above for now, except I'm using openPath instead of openExternal. I've put up a fix for this issue at It works when i use the print button at the top in the pdfview , but dosent work while using window.

Can confirm that with electron 9. The Windows printing dialog is shown, but the window freezes after clicking the print button within the printing dialog.

The aim is that the native dialog for printing appears immediately after opening or displaying the PDF so that the user does not have to click a button again. Can confirm both window. Skip to content.

Star 99k. New issue. Jump to bottom. Copy link. Preflight Checklist I have read the Contributing Guidelines for this project. Final Words PDF files are used extensively for the exchange of data.

Its compatibility with multiple platforms makes it even more reliable. But, like every other file format, uncertainties do occur with PDFs as well. This article covers all the information regarding inaccessibility and corruption of PDF files. And based on that, suggested some manual ways to fix the issue along with an ultimate professional PDF Repair solution for guaranteed repair of any level of corruption issues in the PDF files.

It got a simple GUI, advanced algorithms, and interactive features to provide successful results in no time. Your email address will not be published. Home Products Offers Contact. Akash Tiwari Updated On - 16 Mar I do have VirtualBox installed myself but I don't run it while testing this App and I don't see much performance issues except on couple of tabs that contain just over option radio boxes that are processed through backend Typescript.

I have personally tried on several platforms i. Windows 7 SP3 x86, Windows 10 Pro, x86, x64 with i3 and i7 processors. Only these two tabs show slight performance bottleneck. Then works as normal. One person on the first time run of this app for me have complained that the tab with high number of option radio boxes took almost 40 seconds to load the first time only.

After that it now runs as normal with the expected delays. One person's app doesn't even run on his i5 processor machine and the container shows only white screen. It is very strange that Electron app can have so many diverse permeances on various machines and we are unable to get some help?

For me the issue Debian, 5 second typing lag for both slack app and browser version, no issue for discord in browser was resolved by disabling fractional scaling. Skip to content. Star 99k. New issue. Jump to bottom. Copy link. Any ideas would be helpful. Thanks all! Closing on perceived resolution above. This comment was marked as disruptive content.

Sign in to view. Just decided I'd post my experience here as this was the first location I found when googling the issue: I tried uninstalling VMWare as above suggested, that was not the issue in my case - however the issue for me turned out to be Windows Defender for some reason - not sure what was exactly causing it however I disabled windows defender and the issue disappeared.

I would suggest using some alternative protection to defender Hopefully this helps someone. I've even gone as far as resetting my PC and still no luck. Linux user here, apps themselves aren't slow for me. I have no VMWare but I have the same interface issues.

Here's a peak of the radio option buttons tab. Sign up for free to join this conversation on GitHub.

Already have an account? Sign in to comment. Linked pull requests.



0コメント

  • 1000 / 1000