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 745646 - Improve sorting of "songs" view
Improve sorting of "songs" view
Status: RESOLVED FIXED
Product: gnome-music
Classification: Applications
Component: general
unspecified
Other Linux
: Normal enhancement
: 3.16
Assigned To: gnome-music-maint
gnome-music-maint
Depends on:
Blocks:
 
 
Reported: 2015-03-05 00:33 UTC by Carlos Garnacho
Modified: 2015-03-05 10:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
query: Order songs query by artist/album/disc no/track no. (1.02 KB, patch)
2015-03-05 00:34 UTC, Carlos Garnacho
none Details | Review

Description Carlos Garnacho 2015-03-05 00:33:16 UTC
Elements in the "songs" view are sorted by time of insertion in the tracker database, I find this sorting inconvenient for 2 reasons:

- A disc is added "at once" most usually, but the insertion order of the songs can differ from the actual song order, so the order of songs within a disc appears somewhat random

- On shuffle (and large lists maybe), the current treeview position leaves you clueless about where the other albums/songs of this band are located, they can be actually scattered above and below.

I'd propose to make the ordering more consistent here, I'm attaching a patch to make it based on artist/album/disc no./song no.
Comment 1 Carlos Garnacho 2015-03-05 00:34:24 UTC
Created attachment 298588 [details] [review]
query: Order songs query by artist/album/disc no/track no.

This ordering seems more intuitive than the insertion time as known
by tracker. Songs are more locatable in large lists, and it makes songs
actually played in order with shuffle off.
Comment 2 Vadim Rutkovsky 2015-03-05 10:08:07 UTC
Agreed, existing sorting doesn't make much sense after we have Recently Added smart playlist.

Pushed as https://git.gnome.org/browse/gnome-music/commit/?id=3ddbe3f