GNOME Bugzilla – Bug 408122
Playlist ordering/sorting is stuck
Last modified: 2008-07-31 15:39:09 UTC
Please describe the problem: When playing items in a playlist, I cannot move them. It used to seem dependent on the sorting of the library (i.e. I could reorder items as long as the library was not explicitly sorted), but that does not seem to be the case in 0.11.6. The playlist is not explicitly sorted, though you can resort it by clicking a column header. Steps to reproduce: 1. Add items to a playlist. 2. Drag and drop them to reorder; they will not be changed. Actual results: Nothing, the items remain in the order in which they were added. Expected results: I would like the items to be moved around. Does this happen every time? Lately, yes, it seems to. Other information: I used to be able to work around this behavior by restarting Banshee (when I first reported this on the mailing list, 2006-10-12), but that no longer seems to work.
I can verify this bugs existence.
Same here, this is really a major problem for lots of users, as this makes playlists more or less useless in its current form
Still exists in version 0.12.1. When I've started Banshee from the command line, I see the following console message when attempting to reorder a playlist: "(Banshee:6009): Gtk-CRITICAL **: gtk_list_store_move_after: assertion `!GTK_LIST_STORE_IS_SORTED (store)' failed"
(In reply to comment #3) > "(Banshee:6009): Gtk-CRITICAL **: gtk_list_store_move_after: assertion > `!GTK_LIST_STORE_IS_SORTED (store)' failed" This error comes because the ListStore is sorted, and you can not drag and drop on a sorted list. Even if you are not sorting on a column, you are sorting by the "default column" which is defined by the default sort function which does nothing. Instead of sorting by the default column, banshee should set the ListStore as "unsorted".
Created attachment 94168 [details] [review] user sort patch Simple patch accomplishes what I described above. Let me know if there's any problems or what you think.
(In reply to comment #5) > Created an attachment (id=94168) [edit] > user sort patch > > Simple patch accomplishes what I described above. Let me know if there's any > problems or what you think. Nice to see a patch for this. I just patched SVN and tried this, but it doesn't seem to work for me. Anything else I can try?
Created attachment 95563 [details] [review] Playlist dragging re-enabled The patch made by Aaron Borden (http://bugzilla.gnome.org/show_bug.cgi?id=408122#c5) identified the issue nicely, but misses the initial sort state. It's rememdied in the attached patch, which deals with both issue sites.
(In reply to comment #7) > It's rememdied in the attached > patch, which deals with both issue sites. Indeed, this works well for me. Can this be committed?
Hmm... just retested this on 0.13.2. Seems to be better. I'm closing this, but if anyone else is still experiencing this bug, please feel free to reopen it.
*** Bug 531047 has been marked as a duplicate of this bug. ***