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 129785 - User playlists can't be sorted
User playlists can't be sorted
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: User Interface
0.6.1
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 131976 157575 319267 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-12-21 16:29 UTC by Sebastien Bacher
Modified: 2006-02-28 10:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2003-12-21 16:29:45 UTC
This bug was originally reported in the Debian BTS:
http://bugs.debian.org/220481

"In the main library, clicking on column headers causes the library to be
sorted by that column. In a user playlist, the same behavoiur should occur."
Comment 1 Colin Walters 2004-01-22 07:49:30 UTC
*** Bug 131976 has been marked as a duplicate of this bug. ***
Comment 2 Colin Walters 2004-04-13 05:27:40 UTC
Yeah.  This actually would require a lot of changes to the way the backend
works.    
Comment 3 Colin Walters 2004-10-07 18:12:02 UTC
The tricky part about this bug is that currently the playlist display is unified
with the main library, and the way these views work is by querying the database.
 To do a resorting, we'd have to somehow re-query the playlist, not the database.

An alternative would be to special-case playlists and use a GtkTreeModelSort,
but that would be less than ideal.  Probably that's the sanest way to do it though.
Comment 4 Christophe Fergeau 2004-11-07 13:38:45 UTC
*** Bug 157575 has been marked as a duplicate of this bug. ***
Comment 5 James "Doc" Livingston 2005-08-23 17:47:12 UTC
The patch attached to bug 132566 lets you sort automatic playlists but I haven't
though about it for normal playlists yet.
Comment 6 James "Doc" Livingston 2005-10-19 23:55:35 UTC
*** Bug 319267 has been marked as a duplicate of this bug. ***
Comment 7 James "Doc" Livingston 2006-02-28 10:01:06 UTC
Non-permanent sorting won't work with static playlists, since it conflicts with the drag-and-drop. I don't think doing permanent sorting in response to clicking on a column header is a good idea, since it is easy to do accidently.

Adding an explicit sort playlist action is basically bug 165863 (for that bug, the sorting would be random). Since sorting is done for auto playlists, and I don't think sorting manual playlists on column-header click should be done, I'm marking this FIXED.