Summary: | Drag and drop from collection to playlist create duplicates in playlist | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Lukáš Karas <lukas.karas> |
Component: | Collection Browser | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ognyan_angelov, shlomif, thierry |
Priority: | HI | Keywords: | regression |
Version: | 2.5-git | ||
Target Milestone: | 2.6 | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/amarok/d47d8127cadd2affaf06f4d68f9250306f1379df | Version Fixed In: | 2.6 |
Sentry Crash Report: |
Description
Lukáš Karas
2010-10-16 21:52:44 UTC
Confirmed in current 2.4-git. This only happens when one selects more than one album at a time, adding individual albums doesn't produce duplicates. Setup: Amarok 2.3.2 KDE 4.4.5 Test Result: Confirm on 2.3.2. *** Bug 279744 has been marked as a duplicate of this bug. *** Is this still happening with Amarok 2.5? Just tested here with Amarok 2.5 on KDE 4.8 RC1: selecting two albums, right click -> Add to playlist adds the complete collection! It would be nice if somebody could test with Amarok 2.5 on KDE 4.7.x, I suspect KDE 4.8 to be the culprit. (In reply to comment #5) > Just tested here with Amarok 2.5 on KDE 4.8 RC1: selecting two albums, right > click -> Add to playlist adds the complete collection! > > It would be nice if somebody could test with Amarok 2.5 on KDE 4.7.x, I suspect > KDE 4.8 to be the culprit. For the record, this process only adds the two albums on KDE-4.7.97 (on Mageia Linux 2/Cauldron). Regards, -- Shlomi Fish Git commit d47d8127cadd2affaf06f4d68f9250306f1379df by Matěj Laitl. Committed on 09/05/2012 at 23:40. Pushed by laitl into branch 'master'. Collection browser: don't add duplicate tracks in mimeData That could have happened when you selected e.g. both album and a track from that album -> the track would be added twice. The implemented algorithm is done at QModelIntex level and is O(n) where n is the number of selected tracks so this should be okay. There is an unrelated bug with the Various Artists item that behaves as entire collection when dragged. This will be fixed soon. BUGFIXES: * Don't add duplicates to playlist when dragging from collection FIXED-IN: 2.6 DIGEST: Bugfix: Amarok now doesn't add unwanted duplicates to playlist M +1 -0 ChangeLog M +21 -3 src/browsers/CollectionTreeItemModelBase.cpp http://commits.kde.org/amarok/d47d8127cadd2affaf06f4d68f9250306f1379df |