GNOME Bugzilla – Bug 129785
User playlists can't be sorted
Last modified: 2006-02-28 10:01:06 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."
*** Bug 131976 has been marked as a duplicate of this bug. ***
Yeah. This actually would require a lot of changes to the way the backend works.
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.
*** Bug 157575 has been marked as a duplicate of this bug. ***
The patch attached to bug 132566 lets you sort automatic playlists but I haven't though about it for normal playlists yet.
*** Bug 319267 has been marked as a duplicate of this bug. ***
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.