Version: (using KDE 4.2.2) OS: Linux Installed from: Debian testing/unstable Packages See commit 937561. "Don't feed back when we change to a shorter track. Caused a shorter track played after a longer one to skip straight to the end." This makes applet unusable and should be backported to 4.2.2.
Also commit 937561 does unsafe changes. Here is changed code: if (length != m_length) { m_length = length; + m_positionSlider->blockSignals(true); if (length == 0) { updatePositionSlider(0); } - emit lengthChanged(m_length); + m_positionSlider->setMaximum(length); + m_positionSlider->blockSignals(false); } But updatePositionSlider(0) also blocks signals. So we have nested signals blocking, that is unsafe and can cause bugs. void NowPlaying::updatePositionSlider(int position) { m_positionSlider->blockSignals(true); m_positionSlider->setValue(position); m_positionSlider->blockSignals(false); }
SVN commit 975827 by alexmerry: Don't nest signal blocking calls. CCBUG: 189265 M +4 -9 nowplaying.cpp M +0 -1 nowplaying.h WebSVN link: http://websvn.kde.org/?view=rev&revision=975827
Sorry, I thought I had backported it.
*** Bug 190013 has been marked as a duplicate of this bug. ***
SVN commit 975830 by alexmerry: Backport r937561: Don't feed back when we change to a shorter track. Caused a shorter track played after a longer one to skip straight to the end. and r975827: Don't nest signal blocking calls. BUG: 189265 M +8 -12 nowplaying.cpp M +0 -1 nowplaying.h WebSVN link: http://websvn.kde.org/?view=rev&revision=975830
*** Bug 194880 has been marked as a duplicate of this bug. ***
*** Bug 205349 has been marked as a duplicate of this bug. ***
The problem is not resolved on 2.2.0. When the playlist is a list of radio streams, if I try to play a stream that is not available, amarok will skip to the next stream, play ~ 0.5 second and skip to the next stream, etc. Then, it is not possible to play one stream (but the last one in the playlist). Amarok must be restarted to retrieve its normal behaviour.
@christian chevalier: that is a different bug. This bug refers to the presence of the Now Playing plasma applet on your desktop causing Amarok (and other media players) to skip tracks that are shorter than the previous track. Your bug appears to be an Amarok-specific bug to do with streams.
@christian chevalier: Does the bug exist without this applet?
I reopened this bug because it was pointed by Bug 194880 that is more similar to what I see. For me, the only applet installed is wikipedia.
@christian chevalier: Does this bug appears WITHOUT Now playing plasmoid? I also think that it is not related to Now playing. And what KDE version do you use?
Yes, the Now playing plasmoid is not installed. I use KDE 4.3.2 from mandriva-2010.0
>Yes, the Now playing plasmoid is not installed. So why do you writing into this bug? It's for Now playing plasmoid, not for Amarok. You should find existing/create new report for Amarok, not for Now Playing widget.
Look at comment #11 : I reopened this bug because it was pointed by Bug 194880 that is more similar to what I see