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

Scrolling lag on Atom 1.7 #136

Open marszall87 opened 8 years ago

marszall87 commented 8 years ago

Scrolling a pdf document is very unresponsive and laggy on Atom 1.7.1. It was super smooth on 1.6.2.

I'm using atom-pdf-view v0.50.0 and OS X 10.11.4.

izuzak commented 8 years ago

Thanks for the report, @marszall87. Can you share one such PDF document for which you're seeing lag here as an attachment? I just tried opening a few PDF documents and they scroll just fine for me.

There have been no changes in this package, so maybe something new in Atom is causing the package to behave differently. Would be great to have a specific PDF to reproduce this.

marszall87 commented 8 years ago

No problem, for example this: https://www.dropbox.com/s/pzbqhotr61cngcf/Elm-%20Concurrent%20FRP%20for%20Functional%20GUIs.pdf?dl=0

I've also recorded a short video showing the issue: https://www.youtube.com/watch?v=YZhfxR2ledk

izuzak commented 8 years ago

Thanks -- I'm seeing the laggy scrolling now as well. 😿 Not sure what that could be about, to be honest. I probably won't have time to investigate in the near future, so if someone wants to do some profiling in DevTools and compare how things look in 1.6.2 vs 1.7.1, and open a pull request to get performance back to normal -- I'd be happy to review that pull request.

tflemisch commented 8 years ago

Hi! I have a very similar issue for Atom 1.8 As soon as pdf view opens everything is very laggy and not usable anymore. I was excited to use Atom for LaTeX but due to this issue it is not possible at all and the pdf-view package is not usable for me at all. If there is a solution then I haven't found it =(

Doekeb commented 5 years ago

I am also having this issue (Atom 1.32.1). It seems to happen for large files. In my opinion this needs to be prioritized as it makes the package all but useless.