Bug 254783

Summary: Amarok Play/Pause Shortcut incorrect behaviour - causes track restart
Product: [Applications] amarok Reporter: jonny sutton <jonny.privateproperty>
Component: ShortcutsAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED NOT A BUG    
Severity: normal CC: arkangath, dima, jesslynne28, martin, swarmer.pm
Priority: NOR    
Version: 2.4.0   
Target Milestone: 2.4.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description jonny sutton 2010-10-20 20:01:09 UTC
Version:           2.3.2 (using KDE 4.4.4) 
OS:                Linux

When using the shortcut - either global or local, the track does not pause, instead it starts again from the beginning, I believe this is the action intended for the play shortcut not the play/pause which should stop the track at that point and resume playback at the same point at the second press of play/pause

Reproducible: Always

Steps to Reproduce:
Start Amarok
Press play to start a track
Press Play/Pause shortcut to pause playback for resume at a later point

Actual Results:  
On pressing play/pause shortcut track plays from beginning

Expected Results:  
Track should have paused awaiting resume

OS: Linux (i686) release 2.6.34.7-0.4-default
Compiler: gcc
Comment 1 Pedro Ferreira 2010-11-09 13:23:51 UTC
This also happens to me but only on podcasts. If it is to any relevance, the podcast was downloaded from FriskyRadio.
Not only the shortcut restarts playback, the button on the UI also causes playback to be restarted.
Comment 2 Myriam Schweingruber 2010-11-09 14:05:32 UTC
Setting to confirmed.
Comment 3 Vigilante.Shorin 2011-01-24 22:44:54 UTC
This may be why occasionally the last.fm skips a track instead of pausing it. It's very intermittent for me. (Using Amarok on Ubuntu 10x).
Comment 4 Myriam Schweingruber 2011-05-01 16:19:27 UTC
*** Bug 271996 has been marked as a duplicate of this bug. ***
Comment 5 Martin Schröder 2011-05-22 19:27:16 UTC
I'm seeing the same behavior with flacs and mp3s on KDE 4.4.4 with amarok 2.4.1 on OpenSUSE 11.3; it works on OpenSUSE 11.4 with amarok 2.4.1 on KDE 4.6.0
Comment 6 Dima Ryazanov 2011-05-23 23:05:19 UTC
I think I have repro steps:
- Play some streaming music (e.g., from Internet->Cool Streams)
- Pause it, resume it.
- Play a normal mp3 file.
- Pause it - now, the bug occurs; the track restarts instead of pausing.

If it doesn't repro, try a different stream.

Some other things I've noticed, possibly related: when I double-click an mp3 file while playing the stream, Amarok sometimes plays the wrong file (next one in the playlist?), or displays the track length incorrectly.
Comment 7 Myriam Schweingruber 2011-05-26 08:25:34 UTC
Could you please test with different Phonon backends? It would be good to know if this happens with both the gstreamer and the vlc backend.
Comment 8 Myriam Schweingruber 2011-07-16 08:43:04 UTC
Any news? Please see comment #7
Comment 9 Myriam Schweingruber 2011-09-08 20:28:34 UTC
Closing for lack of feedback. Feel free to reopen this report if you can still reproduce this with current Amarok 2.4.3 or later and a very recent phonon-backend-gstreamer or phonon-backend-vlc.