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 166825 - Don't create thumbnails on opening if the sidebar is closed
Don't create thumbnails on opening if the sidebar is closed
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 168909 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-02-09 17:52 UTC by Vincent Noel
Modified: 2005-03-28 15:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vincent Noel 2005-02-09 17:52:38 UTC
Right now, if you close the evince sidebar and open a PDF file, the thumbnails a
created even though you cannot see them. This takes quite some CPU, and slows
down the interface a lot. To a user that don't want thumbnails, the reason for
the slowdown is not obvious.
In that case, it would make sense to wait until the sidebar is opened to create
the thumbnails.
Comment 1 Bryan W Clark 2005-02-11 23:51:48 UTC
Would be nice if it just didn't slow down the interface at all.  This way
thumbnails would be ready as soon as you turned the sidebar on.  Just to note
that Apple does thumbnail generation in the background without a noticable
change in the interfaces responsiveness.  The thumbnails are then presented in a
drawer when enough are ready to display. 

So I guess we should look at not generating the thumbnails when the sidebar is
hidden or generate them without effecting the main interface.
Comment 2 Marco Pesenti Gritti 2005-02-25 08:46:40 UTC
I think we are going to fix this using threads when we branch...
Comment 3 Bryan W Clark 2005-03-01 19:25:00 UTC
*** Bug 168909 has been marked as a duplicate of this bug. ***
Comment 4 Vincent Noel 2005-03-09 14:44:27 UTC
Well I tried the evince-threads branch, and with it the thumbnails creation is
almost instantaneous. So there is hope :-)
Comment 5 Vincent Noel 2005-03-28 15:02:52 UTC
With the new threads code, the creation of thumbnail does not slow down evince's
interface. So I'm closing this bug. Great job, BTW (browsing and zooming are
extremely fast).