GNOME Bugzilla – Bug 735221
Scrolling in large document with Index pane open slow
Last modified: 2018-05-22 15:49:44 UTC
I noticed recently that scrolling in a large PDF with the Index pane open causes about a ~2 second pause every time the page changes. This is, of course, rather annoying. How to reproduce: 1. Open the following PDF: http://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-manual-325462.pdf 2. Ensure that the Index pane is open. 3. Scroll between pages. This is with Fedora 20, Gnome Shell and Evince 3.12.1 on newish hardware with an AMD GPU. Thanks!
I confirm the issue. This only happens with the Index, not something else like Thumbnails. The problem might be 'large Index' rather than 'large document'.
This bug is a mixture of things that could be slow are actually super slow with the attached document. When we update the current page on the index pane, we check linearly all possible links to get their page... and possibly update this... This turns out to be slow in this document because the pdf is huge, it's encripted with aes, and all links are named destinations... so searching for each of them is super slow. In top of that, each time we look for the page, we take the doc mutex lock....
(In reply to comment #2) > This bug is a mixture of things that could be slow are actually super slow with > the attached document. When we update the current page on the index pane, we > check linearly all possible links to get their page... and possibly update > this... This turns out to be slow in this document because the pdf is huge, > it's encripted with aes, and all links are named destinations... so searching > for each of them is super slow. In top of that, each time we look for the page, > we take the doc mutex lock.... Thanks for having a look! Well at least there's lots of ways to improve :-)
Can the feature where the Index is updated dynamically be removed or disabled altogether? Scrolling a pdf with the index open is almost impossible right now.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/502.