Bug 189386

Summary: If you restart playing music after having stopped it, the first track has no sound
Product: [Applications] juk Reporter: Degand Nicolas <nicolas.degand>
Component: generalAssignee: Scott Wheeler <wheeler>
Status: RESOLVED FIXED    
Severity: normal CC: ggrabler, grey271, mpyne, rakuco
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Degand Nicolas 2009-04-11 18:11:57 UTC
Version:           3.2.2 (using 4.2.2 (KDE 4.2.2), Debian packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.26-1-amd64

Steps to reproduce :

1: Launch Juk
2: Play tracks with it
3: Stop (do not pause, really stop)
4: Restart playing

=> No sound (the progress bar works)

To have sound again, go to the next track (notice that the fade out of the previously muted song works so you hear it fade although it was not played)
Comment 1 Georg Grabler 2009-05-11 22:44:46 UTC
Hmh, strange one. I've a different behaviour in trunk, but can confirm this for 3.2.2 (kde 4.2.2).
In trunk it's slightly different (player stops at all and you can't start playing again).

Yet another task, should be fixed when looking at #165786
Comment 2 Raphael Kubo da Costa 2009-05-18 06:07:33 UTC
It happened with 4.2.2 here, but I can't reproduce either behaviour with trunk. Can you confirm if this is still valid?
Comment 3 Georg Grabler 2009-05-25 00:16:29 UTC
I can confirm this running 4.2.3. I can confirm this running trunk of JuK, running QT 4.5.1, phonon 4.3.1 and the rest of kde 4.2.3.

I didn't recompile / install the whole kde trunk, but the problem could be located everywhere.

After stopping, 105 waekups/s is quite enough to take a look at it.
  15.5% (105.0)               juk : schedule_hrtimeout_range (hrtimer_wakeup)
Comment 4 Georg Grabler 2009-05-25 00:20:38 UTC
Oh, and I'd prefer if it solved itself, since I quite failed finding what causes this last week.
My first thought was about phonon mediaobjects not being stopped correctly, but that one is clean.
I'd need to trace what causes all this wakeups, but have no idea how to do so.
Comment 5 Georg Grabler 2009-05-25 00:24:41 UTC
Damn, wrong bug ... i was wrong in this case.
Yes, this one seems to be fixed.
Comment 6 Raphael Kubo da Costa 2009-05-25 00:29:54 UTC
Heh, OK. I'll close it as FIXED.
Comment 7 Andreas Tiemeyer 2009-06-19 23:10:06 UTC
Could this bug pls. be reopened? I'm seeing it with JuK 3.2.3, Kde 4.2.4, Qt 4.5.1, phonon 4.3.1.
The first song of the album or playlist does not play in 75% of the cases, and the "fix" is to select Next, then Previous.