Version: (using KDE 4.3.5)
Installed from: Gentoo Packages
1. add songs to amarok playlist
2. Double click on the song in the middle of playlist
3. press "up" or "down" key
It jumps to the first playlist entry.
Go to +/- entry from current playing now.
This looks like a bug in our keeping the selection model in sync...
Author: Nikolaj Hald Nielsen <email@example.com>
Date: Wed Feb 24 15:49:28 2010 +0100
Set the "current index" to the activated row, when activating a row in the playlist. This prevents keyboard navigation going astray when starting playback of a track.
diff --git a/src/playlist/view/listview/PrettyListView.cpp b/src/playlist/view/listview/PrettyListView.cpp
index f36b3a1..4e9f415 100644
@@ -254,6 +254,11 @@ Playlist::PrettyListView::trackActivated( const QModelIndex& idx )
m_skipAutoScroll = true; // we don't want to do crazy view changes when selecting an item in the view
Actions::instance()->play( idx );
+ //make sure that the track we just activated is also set as the current index or
+ //the selected index will get moved to the first row, making keyboard navigation difficult (BUG 225791)
+ selectionModel()->setCurrentIndex( idx, QItemSelectionModel::ClearAndSelect );