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 602497 - Progress bar doesn't stop if there are no search results
Progress bar doesn't stop if there are no search results
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: YouTube plugin
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-11-20 12:48 UTC by Jean-Philippe Fleury
Modified: 2009-11-22 16:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-Philippe Fleury 2009-11-20 12:48:44 UTC
With Totem 2.28.2, if my search string has only ascii characters, it's ok (I see results and I can display videos), but if my search string contains non-ascii characters, the search seems to loop infinitely and I never see results.

To reproduce the bug, make this search in the Youtube plugin search field:

chaplin la ruée vers l'or

We never see any results. Now change the search string to:

chaplin la ruee vers l'or

and we immediately see results.
Comment 1 Oxmosys 2009-11-20 14:26:35 UTC
I can confirm this bug with totem 2.28.2
Comment 2 Philip Withnall 2009-11-21 20:52:50 UTC
Fixed on gnome-2-28 and master. It wasn't a problem with accented or Unicode characters; merely that the YouTube search API was returning no results for the query, and we weren't handling that very well in the UI.

commit 19e811da24496f44dbc25812aff666497bc782b0
Author: Philip Withnall <philip@tecnocode.co.uk>
Date:   Sat Nov 21 20:48:42 2009 +0000

    Bug 602497 — Progress bar doesn't stop if there are no search results
    
    Ensure the YouTube progress bar stops once a search is finished, even
    if there are no results. Closes: bgo#602497

 src/plugins/youtube/totem-youtube.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
Comment 3 Oxmosys 2009-11-21 21:14:24 UTC
Are you sure? This problem also happens if I search for "phylactère cola" which returns result in youtube website. If I use "phylactere cola" instead, it works correctly.
Comment 4 Philip Withnall 2009-11-22 16:54:02 UTC
You are correct. On further investigation, it turns out that while the query was working fine, it wasn't returning any results because it was subtly broken. This is fixed in version 0.5.1 of libgdata (just released), which should fix it in Totem without further changes.
Comment 5 Oxmosys 2009-11-22 16:58:23 UTC
Thank you very much for the clarification about the status of this bug!