Version: 2.4.3 (using KDE 4.7.1) OS: Linux I am using a dynamic playlist. When a track ends and a new track starts the playlist ends up scrolled all the way to the bottom showing the newly added track instead of up near the top showing the currently playing track. In the settings I have the General -> Playlist Options -> Automatically scroll playlist to current track setting checked. Reproducible: Always Steps to Reproduce: Use dynamic playlist with enough total tracks to cause playlist to require scrolling. Set "Automatically scroll playlist to current track" setting. Actual Results: When track changes and new track is added playlist scrolls to last track. Expected Results: Playlist should automatically show the currently playing track. OS: Linux (i686) release 3.0.0-12-generic Compiler: gcc
Yes indeed, I am able to reproduce the bugs on Amarok 2.5 running on KDE 4.7.4.
Thank you for testing :)
can reproduce this on Amarok v2.6.0-421-gf66a306
Patch uploaded: https://git.reviewboard.kde.org/r/111038/ Please review.
Vedant, please, take heed of what I told you in the other review request, please do tell what you are going to work on before starting to do so, really. It would spare us all some time. amarok-devel@kde.org is the only relevant place for Amarok dicussions, please start your work there.
Git commit 9dbdb8bde9836f2e17da9ef063cea66961324639 by Mark Kretschmann, on behalf of Vedant Agarwala. Committed on 02/07/2013 at 10:02. Pushed by markey into branch 'master'. Fix the scrolling problem in dynamic playlists. After the track was changed the "scroll to current playing track" worked as per user settings. But in case of dynamic playlists after the tracks were added (automatically) the PrettyListView scrolled to the tracks added (i.e. it scrolled to the bottom). It took me so long to figure this out and even longer to find a solution; but the patch was only of 2 lines. Anyway I got a better understanding of the Playlist Model-View architecture :) FIXED-IN: 2.8 REVIEW: 111038 M +2 -0 ChangeLog M +2 -1 src/playlist/view/listview/PrettyListView.cpp http://commits.kde.org/amarok/9dbdb8bde9836f2e17da9ef063cea66961324639