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 604279 - At the end of a playlist totem re-opens the first file causing it to be displayed as the most recent played
At the end of a playlist totem re-opens the first file causing it to be displ...
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: general
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-12-10 14:37 UTC by Pedro Villavicencio
Modified: 2012-07-14 23:25 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28



Description Pedro Villavicencio 2009-12-10 14:37:51 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/totem/+bug/488436

totem version is 2.28.2

"When totem reaches the end of a playlist it re-opens the first file of the playlist to display its first frame. This causes the first file of the playlist to be wrongly acknowledged as the most recent played file.

Example:
If I open totem and add three files A, B and C to the playlist in that order, and play this hole playlist I would expect the files to be displayed in the most recent menu in the following order (both on gnome "Places > Recent Documents" and on totem's "File" menu:

    Recent Documents:
        C
        B
        A

But, because A is re-open at the end of the playback (to display its first frame), the recent documents ends up like this:

    Recent Documents:
        A
        C
        B"
Comment 1 Bastien Nocera 2012-07-14 23:25:37 UTC
We rejigged the recent code now.

commit 56b6d9865c124231fa333ec937b1cf7b3c6cc7ba
Author: Bastien Nocera <hadess@hadess.net>
Date:   Sun Jul 15 00:22:14 2012 +0100

    main: Remove add_to_recent arg

commit 5ea6326b91cfc30835febe8f715fa33e96fa48a2
Author: Bastien Nocera <hadess@hadess.net>
Date:   Sun Jul 15 00:17:06 2012 +0100

    main: Remove recent functionality
    
    As it's moved to the recent plugin.

commit f511986abe99d542abfbdfea6376443d93bb494a
Author: Bastien Nocera <hadess@hadess.net>
Date:   Sat Jul 14 22:54:00 2012 +0100

    recent: Add recent-files plugin

commit 68ee8a09016f2ad1e240ef18b782859cd51ac39b
Author: Bastien Nocera <hadess@hadess.net>
Date:   Sat Jul 14 23:52:03 2012 +0100

    main: Add current title and content-type properties

commit 1b2d2a3f17e07046d14c27f8ab3a852d09e773e8
Author: Bastien Nocera <hadess@hadess.net>
Date:   Sat Jul 14 23:50:30 2012 +0100

    main: Split getting title and content-type
    
    We used to have a single function returning both.

commit 5b704efc59fe833f2273d72ea373b3f730ae4324
Author: Bastien Nocera <hadess@hadess.net>
Date:   Sat Jul 14 23:10:21 2012 +0100

    zeitgeist-dp: Use file-has-played signal
    
    Instead of the file-opened one, so that only files that are really
    opened and played get added.

commit b64ae73d5a6b7d8c644dc77a3281209d65b619f3
Author: Bastien Nocera <hadess@hadess.net>
Date:   Sat Jul 14 23:11:23 2012 +0100

    main: Emit the file-has-played signal as appropriate

commit 93c43126b163ae1c013f1abfd2e1e0bfca90a9f2
Author: Bastien Nocera <hadess@hadess.net>
Date:   Sat Jul 14 22:16:32 2012 +0100

    main: Add "file-has-played" signal