Version: 2.5.0 (using KDE 4.8.0)
If you drag an entry from the Playlist onto a Saved Playlist, it does not always show up.
Steps to Reproduce:
Create a new empty playlist in the Saved Playlists view (via rightclick), and drag several songs from the main Playlist onto the new playlist, one after another.
Not all dropped songs show up in the Saved Playlist view, and no "expandable indicator" icon appears left of the playlist. If you however add the saved playlist to the main playlist (via rightclick->add to playlist), all songs appear.
All songs are correctly shown in the saved playlists view.
Git commit 0b979bb9c0daf3a0832d966efbc1993d777fdcec by Matěj Laitl.
Committed on 14/02/2012 at 00:44.
Pushed by laitl into branch 'master'.
Always use nonnegative position in Playlist::notifyObserversTrackAdded()
This was the cause of bug 293295. Thanks to Marius for spotting and
* Don't misbehave when track is dropped directly to saved playlist.
M +1 -0 ChangeLog
M +1 -1 src/browsers/playlistbrowser/PlaylistBrowserModel.cpp
M +11 -0 src/core/playlists/Playlist.h
M +5 -2 src/playlistmanager/sql/SqlPlaylist.cpp