GNOME Bugzilla – Bug 568081
Overlay mode opening slowly with movie in recent documents list
Last modified: 2009-05-05 21:34:22 UTC
For some reason gnome-shell does not seem to use the video thumbnails already done by nautilus. Instead it tries to do it's own and blocks gnome-shell until the thumbnail process times out... If I clear the recent documents history, the overlay opens fast. JS LOG: Loading tweener.js JS LOG: Loading tweenlist.js JS LOG: Done loading tweenlist.js JS LOG: Done loading tweener.js JS LOG: Loading equations.js JS LOG: Done loading equations.js 2.000000% complete 6.000000% complete totem-video-thumbnailer couldn't process file: 'file:///home/nx/Desktop/cw.avi' Reason: Took too much time to process. Window manager warning: Log level 16: Could not generate thumbnail for file:///home/nx/Desktop/cw.avi
> totem-video-thumbnailer couldn't process file: 'file:///home/nx/Desktop/cw.avi' > Reason: Took too much time to process. To me this would mean that everytime you will try to get a thumbnail for this file, it will fail - even in Nautilus. So it would be normal that GNOME Shell can't use previously created thumbnails, at least for this file. Then the problem would be that 1) once failed, it should not try another time, and 2) this work should not block during this operation. Now this is just a guess. Do you get this for several files? Can you see them thumbnailed in Nautilus? What do Nautilus' logs say?
(In reply to comment #1) > Now this is just a guess. Do you get this for several files? Yes I did. > Can you see them thumbnailed in Nautilus? Yes. > What do Nautilus' logs say? Have not checked but right now I'm not able to compile gnome-shell so I cannot test any longer...
Created attachment 134046 [details] [review] Deal with thumbnail failure correctly If a file already has a failed thumbnail indicator, don't try to thumbnail it, and if thumbnailing fails, create a failed thumbnail indicator. (In particular, so that if thumbnail creation times out, we don't keep retrying and eventually timing out every time the user opens the overlay.)
Looks good to me.
committed