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 568081 - Overlay mode opening slowly with movie in recent documents list
Overlay mode opening slowly with movie in recent documents list
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2009-01-17 14:29 UTC by Michael Monreal
Modified: 2009-05-05 21:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Deal with thumbnail failure correctly (1.96 KB, patch)
2009-05-05 18:12 UTC, Dan Winship
accepted-commit_now Details | Review

Description Michael Monreal 2009-01-17 14:29:14 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
Comment 1 Milan Bouchet-Valat 2009-02-21 12:34:59 UTC
> 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?
Comment 2 Michael Monreal 2009-02-21 12:52:31 UTC
(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...

Comment 3 Dan Winship 2009-05-05 18:12:59 UTC
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.)
Comment 4 Owen Taylor 2009-05-05 18:32:50 UTC
Looks good to me.
Comment 5 Dan Winship 2009-05-05 21:34:22 UTC
committed