Bug 169064 - Tracks aren't sorted when dragging a folder from the Files tab to the playlist
Summary: Tracks aren't sorted when dragging a folder from the Files tab to the playlist
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Playlist (show other bugs)
Version: 2.0-SVN
Platform: unspecified Linux
: LO minor
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-13 20:38 UTC by Mikko C.
Modified: 2012-08-14 09:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikko C. 2008-08-13 20:38:46 UTC
Version:           2.0-SVN (using 4.1.61 (KDE 4.1.61 (KDE 4.2 >= 20080807)), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.26.2

- Go in the "Files" tab
- Drag a folder containing an album into the playlist
- The tracks aren't sorted in any way

The user would expect at least alphabetical order, or by track number (if present in the tag).

Note that this happens only if the album isn't already in the collection.
If it is, the tracks are correctly sorted, the cover displayed, etc.
Comment 1 Lydia Pintscher 2008-08-19 00:01:52 UTC
This should be fixed now.
Please reopen if not.

Thanks for your report.
Comment 2 Mikko C. 2008-08-19 10:15:25 UTC
This isn't fixed.
Lydia, maybe you're referring to this http://websvn.kde.org/?view=rev&sortby=date&revision=847552 or this http://websvn.kde.org/?view=rev&sortby=date&revision=847793 commit.
But they both refer to the CollectionBrowser.

The problem I have is with the FileBrowser, and only with files *not* in the collection.
Comment 3 Lydia Pintscher 2008-08-19 10:23:08 UTC
Thanks Mikko. Indeed I was referring to those.
Comment 4 Ian Monroe 2008-08-19 19:55:44 UTC
Looks like Lydia forgot to close.
Comment 5 Lydia Pintscher 2008-08-19 20:06:31 UTC
Nope I didn't, Ian ;-)
It is still a problem as Mikko said.
Comment 6 Ian Monroe 2008-08-26 23:33:26 UTC
Fixed.
Comment 7 Mikko C. 2008-11-02 10:01:17 UTC
Reopening since http://websvn.kde.org/?view=rev&sortby=date&revision=878873 
Maybe sort per number AND album?
Comment 8 Lydia Pintscher 2008-11-20 23:42:45 UTC
Is this still valid with current SVN?
Comment 9 Mikko C. 2008-11-21 07:50:40 UTC
Nope, it's fixed :)
Thanks!
Comment 10 michael.zugaro 2012-08-13 13:42:12 UTC
When I drag & drop some files from the collection to the playlist, they appear unsorted.

This could be a regression, or (more possibly) a slightly different variation on the same theme. I listen to classical music - the tags are most likely slightly different from those used for songs. Namely, I use the tags recommended for Ogg files: COMPOSER, GENRE, TITLE, OPUS, CONDUCTOR, PERFORMER, etc. In Amarok, I sort my collection by Composer, Style and Title. This works very nicely, except that drag & dropping e.g. a symphony (same Composer, Style and Title, but 4 files: one per movement) to the playlist lists the movements in a random order.
Comment 11 Myriam Schweingruber 2012-08-14 09:02:44 UTC
(In reply to comment #10)
> When I drag & drop some files from the collection to the playlist, they
> appear unsorted.
> 
> This could be a regression, or (more possibly) a slightly different
> variation on the same theme. I listen to classical music - the tags are most
> likely slightly different from those used for songs. Namely, I use the tags
> recommended for Ogg files: COMPOSER, GENRE, TITLE, OPUS, CONDUCTOR,
> PERFORMER, etc. In Amarok, I sort my collection by Composer, Style and
> Title. This works very nicely, except that drag & dropping e.g. a symphony
> (same Composer, Style and Title, but 4 files: one per movement) to the
> playlist lists the movements in a random order.

Please do not comment on bugs closed since 4 years for a version which is long obsolete.

FWIW: You should at least not yours.have an artist or album artist tag set.