GNOME Bugzilla – Bug 166825
Don't create thumbnails on opening if the sidebar is closed
Last modified: 2005-03-28 15:04:04 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.
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.
I think we are going to fix this using threads when we branch...
*** Bug 168909 has been marked as a duplicate of this bug. ***
Well I tried the evince-threads branch, and with it the thumbnails creation is almost instantaneous. So there is hope :-)
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).