GNOME Bugzilla – Bug 327494
Drag of album to queue results in wrong order
Last modified: 2006-01-29 09:45:31 UTC
Please describe the problem: I have the queue as a sidebar. When I drag an album to the queue it seems to get added in some random order. The prefered sortorder would be the same order as the tracks are shown in the browser. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 57967 [details] [review] patch Lots of rearranging of code to make the changes in rhythmdb-property-model.c that actually fix the bug possible. I'm not entirely sure about the sort functions chosen for uri list drag data. It currently acts as if you sorted the entry view on the property you're selecting (genre/artist/album), then selected all the entries for the values you're interested in.
Created attachment 58199 [details] [review] better patch Stops rhythmdb_query_model_set_sort_order complaining about resorting limited models when setting the sort order for the first time.
Created attachment 58296 [details] [review] updated now compiles with --enable-more-warnings
Looks sane to me, and work fine.
Committed.