Bug 175023 - Tracks in playlist not ordered according to track number in id3 tags
Summary: Tracks in playlist not ordered according to track number in id3 tags
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Playlist (show other bugs)
Version: 2.0-SVN
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-13 11:08 UTC by Jitka Kudrnacova (elenna)
Modified: 2008-12-08 12:36 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Random order in playlist (32.96 KB, image/png)
2008-11-28 02:38 UTC, Harald Hvaal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jitka Kudrnacova (elenna) 2008-11-13 11:08:37 UTC
Version:           svn 2.0 r 882866 (using KDE 4.1.2)
Compiler:          g++ 4.3.2 
OS:                Linux
Installed from:    Compiled From Sources

If I load tracks from the collection, in the collection browser i see correct ordering of the tracks according to track number in id3 tags.

But if I load these tracks to the playlist they are sorted aplhabetically.

Expected Behavior: the tracks in the playlist are ordered the same way as in the collection browser.

Amarok compiled from svn, revision 882866

See snapshot: http://uloz.to/941746/amarok.jpeg ( i am sorry, it is czech page, but simply click on the name amarok.jpeg and the image should be displayed)
Comment 1 Jitka Kudrnacova (elenna) 2008-11-13 11:24:21 UTC
The album is here: http://anna.fi.muni.cz/~xkudrnac/amarok/archive.tar

Comment 2 George Kiagiadakis 2008-11-18 22:27:07 UTC
I can confirm this. If I double click on an album in the collection, it is inserted in the playlist in the correct order (sorted by track number), however, if I drag and drop it from the collection to the playlist, it is sorted alphabetically, so for example I get a list like that:

1 - title
10 - title
11 - title
2 - title
20 - title
3 - title
etc....
Comment 3 Nikolaj Hald Nielsen 2008-11-19 10:17:02 UTC
SVN commit 886441 by nhnielsen:

Correctly sort tracks when dragging and dropping directly to the playlist
BUG: 175023


 M  +8 -1      browsers/collectionbrowser/CollectionTreeItemModelBase.cpp  
 M  +14 -1     playlist/PlaylistModel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=886441
Comment 4 Jitka Kudrnacova (elenna) 2008-11-24 15:15:48 UTC
Nope, still there. Seen in revision:888341.
Reopening.
Comment 5 Mark Kretschmann 2008-11-26 19:58:08 UTC
*** Bug 176156 has been marked as a duplicate of this bug. ***
Comment 6 Harald Hvaal 2008-11-28 02:38:59 UTC
Created attachment 28868 [details]
Random order in playlist

In my case it doesn't even seem to be sorted by anything, the order seems completely random. Even though the track number is right there, displayed to me. Running 1.98.
Comment 7 Mikko C. 2008-12-05 23:40:48 UTC
it works here with trunk
Comment 8 Jitka Kudrnacova (elenna) 2008-12-08 12:36:11 UTC
Works here now as well. Revision 892896.
Closing.