izuzak / atom-pdf-view

Support for viewing PDF files in Atom.
https://atom.io/packages/pdf-view
MIT License
106 stars 30 forks source link

PDF View crashes when used with a 300 DPI setting on Windows 10 #71

Open eventhelix opened 9 years ago

eventhelix commented 9 years ago

The PDF View crashes when used with a 300 DPI setting on Windows 10. Reproducing the problem:

  1. Set Windows 10 to 300 DPI setting. Sign out and sign in as per Windows 10 recommendation.
  2. Open a PDF file in Atom Editor.
  3. PDF View crashes.
izuzak commented 8 years ago

Sorry for the delay in getting back to you, @eventhelix.

I don't have a Windows 10 machine, unfortunately, so I can't try reproducing this. However, I would like to ask for a bit more information which might help someone else fix this.

Which version of Atom are you on, can you reproduce this on Atom 1.0.15, which version of pdf-view are you on, and can you reproduce this on pdf-view 0.25.0?

You said "PDF View crashes." -- can you clarify what this means exactly? How do you know that it crashes? Do you see an error, and if so -- which one?

Do you have any other packages installed and can you reproduce the problem with only pdf-view enabled and all other packages disabled?

eventhelix commented 8 years ago

pdf-view-crash Screenshot of the crash seen with a 4K display at 250% DPI setting. Editor version: 1.0.15 pdf-view version: 0.25.0 I can share the PDF document that is causing the problem.

Sometimes I see a dialog box reporting an editor crash. On other occasions I have seen a distorted render followed by a blank screen in the PDF tab.

The PDF document renders correctly at 100% DPI setting.

Notes:

izuzak commented 8 years ago

Thanks for the details. Could you also post the crash report from Windows which has details on the crash? I'm not sure where to find it on Windows 10, unfortunately, but it should include a stack trace for the crash. The editor shouldn't crash like that, and this would be something we report to Atom or Electron probably. The crash report would be very helpful if you can get to it. Thanks again!

eventhelix commented 8 years ago

Will investigate how to get a crash report. Note that the crash dialog does not show up every time. Sometimes it is just a blank screen. I captured the console screenshot in one such case... console-view-250dpi