(I don't think this is a repeat of 312062) If you press stop during the playing of a track then the next time you press start amarok starts playing from the start of the playlist it appears to lose the playlist position.
Steps to Reproduce:
1. Start playing a track from the middle of a playlist
2. After around 20 secs press stop button
3. Press start button - amarok will start playing from the first track in the playlist
The first track in the playlist is played
I'd expect it to play the current track (the one that was playing when stop was invoked). I think this is a regression,I don't remember it happening in 2.6.0
vlc backend (0.6.0)
I see the same problem.
Argh. We should have noticed that!
Could have been caused by my changes to Playlist::Action. Ralf, please see http://commits.kde.org/amarok/57e5bf46 and Playlist::Actions::slotPlayingStopped(). Perhaps Playlist::Actions::m_nextTrackCandidate should be set before slotPlayingStopped() is called in this case. Ralf, feel free to fix it, I won't have time for some days.
Related is also previous commit http://commits.kde.org/amarok/e1d2ea6c and bug 299890, bug 268892, bug 277197, bug 302652, bug 303580 and bug 302240. Any change should be tested not to break already resolved bugs. (some bugs in the list may be still open).
I think you are right about the problem.
I am looking if I can fix it.
Also we definitely need to have auto tests for the playlist stuff.
Git commit 8674fad6ac9f9eb413c52e27483c3606c9705715 by Ralf Engels.
Committed on 06/01/2013 at 01:59.
Pushed by rengels into branch 'master'.
Fix amarok starts at beginning of playlist if you previously stopped during a track
M +1 -0 ChangeLog
M +3 -1 src/EngineController.cpp
M +12 -4 src/playlist/PlaylistActions.cpp
M +1 -1 src/playlist/PlaylistActions.h
This Bug is not completely fixed in final 2.7.
It now works as expected for local files, but still happens if one stops during a stream.
(In reply to comment #5)
> This Bug is not completely fixed in final 2.7.
> It now works as expected for local files, but still happens if one stops
> during a stream.
"Stop" or "Pause"? Just to clarify...
Stop, Pause works as expected
PS: thanks for the fast response!
Thank you for the feedback. I think this is one of the reasons we don't expose "Stop" in the main toolbar...
Works as expected with Amarok 2.8.