After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 756832 - Page thumbnails disappear while scrolling
Page thumbnails disappear while scrolling
Status: RESOLVED DUPLICATE of bug 691448
Product: evince
Classification: Core
Component: general
3.22.x
Other Linux
: Normal major
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-10-19 23:39 UTC by lof
Modified: 2016-09-28 18:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description lof 2015-10-19 23:39:28 UTC
When you have a PDF with many objects and large images, the thumbnail generation can be slow and inefficient as described in #34110 and #691448.

But even if thumbnail generation is slow, evince shows white placeholder pages, so you see appearing content, not appearing pages.

When thumbnail generation is slow it can happen that even these placeholder pages appear and disappear which produces a quite unpleasant flickering.

Here a video: 

https://imgrush.com/2UvU1oEmEoWW
Comment 1 garrett.mitchener 2016-09-16 14:46:09 UTC
I'm seeing something similar. When you scroll or even press space to go page by page, all the thumbnails disappear and sometimes reappear.
Comment 2 garrett.mitchener 2016-09-16 14:49:04 UTC
Sorry, it's too big to post to bugzilla. Here's a link:

http://mitchenerg.people.cofc.edu/Slide-Show.pdf
Comment 3 Germán Poo-Caamaño 2016-09-28 16:52:02 UTC
I can see the same behaviour in a smaller document (186 pages, 1.6MB), whose render does not take that long.

It looks like the the thumbnail area needs to be repainted. For example, when I can reproduce the issue, I can pass the mouse over a "hidden" thumbnail and it will be drawn, if I move the scrollbar a little, all of them will appear.
Comment 4 José Aliste 2016-09-28 18:04:25 UTC
I am sorry to say.. this bug has been there since 3.0... The issue is that the way we modify the model in the IconView invalidates the whole view. Therefore, the IconView triggers a relayout which is very slow... During this relayout there are chances the thumbnails will become invisible. The solution is to move away from the IconView or use another type of custom model... In the previous versions this problem only became apparent with very big documents... Now it seems is reproducible more easily....
Comment 5 Germán Poo-Caamaño 2016-09-28 18:43:17 UTC
I remember that after an update (probably of GTK+) I perceived the thumbnail sidebar slower. It may be related with that. I think I commented it, but I don't remember whether in a bug or somewhere else.
Comment 6 Germán Poo-Caamaño 2016-09-28 18:44:10 UTC
Meh, it was already pointed here: Bug 691448 :-)

Then, it is a duplicated.
Comment 7 Germán Poo-Caamaño 2016-09-28 18:47:57 UTC

*** This bug has been marked as a duplicate of bug 691448 ***