Bug 186999

Summary: [windows] stop button does not work properly
Product: [Frameworks and Libraries] Phonon Reporter: andreaswuest
Component: generalAssignee: Matthias Kretz <kretz>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bjoernsc, myriam, ps_ml
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description andreaswuest 2009-03-12 18:50:05 UTC
Version:           2.1-SVN (using 4.2.1 (KDE 4.2.1), MS Visual Studio 2005 SP1)
Compiler:          cl.exe
OS:                Microsoft Windows (i686) release 5.1 (XP Professional)

hello,

the stop buttons does not work properly. the song stops playing but then magically start again. i have last fm enabled, jfyi. 

here is the relevant log from the debugView starting with the click on the 
stop button:

00000000	0.00000000	[1368] amarok: BEGIN: EngineController::stop 	
00000001	0.00015616	[1368] amarok:   [EngineController] m_currentTrack != 0 	
00000002	0.00232220	[1368] amarok: BEGIN: Playlist::Model::metadataChanged 	
00000003	0.00281720	[1368] amarok: END__: Playlist::Model::metadataChanged - Took 0s 	
00000004	0.00300852	[1368] amarok: BEGIN: MainWindow::metadataChanged 	
00000005	0.00331680	[1368] amarok: END__: MainWindow::metadataChanged - Took 0s 	
00000006	0.00358179	[1368] amarok: BEGIN: Amarok::OSD::metadataChanged 	
00000007	0.00477134	[1368] amarok: BEGIN: OSDWidget::show 	
00000008	0.01528979	[1368] amarok: END__: OSDWidget::show - Took 0s 	
00000009	0.01574576	[1368] amarok: END__: Amarok::OSD::metadataChanged - Took 0s 	
00000010	0.01690982	[1368] amarok: BEGIN: Playlist::Model::metadataChanged 	
00000011	0.01736243	[1368] amarok: END__: Playlist::Model::metadataChanged - Took 0s 	
00000012	0.01750253	[1368] amarok: BEGIN: MainWindow::metadataChanged 	
00000013	0.01776681	[1368] amarok: END__: MainWindow::metadataChanged - Took 0.016s 	
00000014	0.01796029	[1368] amarok: BEGIN: Amarok::OSD::metadataChanged 	
00000015	0.01895903	[1368] amarok: BEGIN: OSDWidget::show 	
00000016	0.02038772	[1368] amarok: END__: OSDWidget::show - Took 0s 	
00000017	0.02059514	[1368] amarok: END__: Amarok::OSD::metadataChanged - Took 0s 	
00000018	0.02076435	[1368] amarok: BEGIN: ProgressWidget::enginePlaybackEnded 	
00000019	0.02164508	[1368] amarok: END__: ProgressWidget::enginePlaybackEnded - Took 0s 	
00000020	0.02199982	[1368] amarok: BEGIN: ScrobblerAdapter::checkScrobble 	
00000021	0.02217089	[1368] amarok: END__: ScrobblerAdapter::checkScrobble - Took 0s 	
00000022	0.02227644	[1368] amarok: BEGIN: TimecodeObserver::enginePlaybackEnded 	
00000023	0.02238919	[1368] amarok: END__: TimecodeObserver::enginePlaybackEnded - Took 0s 	
00000024	0.02484589	[1368] amarok: BEGIN: EngineSubject::stateChangedNotify 	
00000025	0.02502413	[1368] amarok: BEGIN: MainWindow::engineStateChanged 	
00000026	0.02586339	[1368] amarok:       [MainWindow] Phonon state:  1 	
00000027	0.02603120	[1368] amarok: END__: MainWindow::engineStateChanged - Took 0s 	
00000028	0.02622325	[1368] amarok: BEGIN: ProgressWidget::engineStateChanged 	
00000029	0.02639295	[1368] amarok: END__: ProgressWidget::engineStateChanged - Took 0s 	
00000030	0.02656297	[1368] amarok: BEGIN: Context::ContextView::engineStateChanged 	
00000031	0.02678581	[1368] amarok: BEGIN: CurrentEngine::message 	
00000032	0.02698236	[1368] amarok: END__: CurrentEngine::message - Took 0s 	
00000033	0.02700673	[1368] amarok: END__: Context::ContextView::engineStateChanged - Took 0s 	
00000034	0.02717022	[1368] amarok: BEGIN: Amarok::OSD::engineStateChanged 	
00000035	0.02755204	[1368] amarok: END__: Amarok::OSD::engineStateChanged - Took 0s 	
00000036	0.02771836	[1368] amarok: BEGIN: Amarok::PlayPauseAction::engineStateChanged 	
00000037	0.02791001	[1368] amarok:        NEWSTATE:  1 OLDSTATE:  2 	
00000038	0.02809924	[1368] amarok: END__: Amarok::PlayPauseAction::engineStateChanged - Took 0s 	
00000039	0.02823506	[1368] amarok: BEGIN: StatusBar::engineStateChanged 	
00000040	0.02863482	[1368] amarok: END__: StatusBar::engineStateChanged - Took 0s 	
00000041	0.02925885	[1368] amarok:      returning bookmarkcurrenttrack action 	
00000042	0.04558775	[1368] amarok: END__: EngineSubject::stateChangedNotify - Took 0.016s 	
00000043	0.10706951	[1368] amarok: END__: EngineController::stop - Took 0.094s 	
00000044	0.15265551	[1368] amarok: BEGIN: CurrentTrack::dataUpdated 	
00000045	0.16833468	[1368] amarok: END__: CurrentTrack::dataUpdated - Took 0.016s 	
00000046	1.04571235	[1368] amarok: BEGIN: CurrentEngine::stoppedState 	
00000047	1.04610407	[1368] amarok: END__: CurrentEngine::stoppedState - Took 0s 	
00000048	1.05376637	[1368] amarok: BEGIN: CurrentTrack::dataUpdated 	
00000049	1.05393100	[1368] amarok: END__: CurrentTrack::dataUpdated - Took 0s 	
00000050	1.05400681	[1368] amarok: BEGIN: CurrentEngine::resultReady 	
00000051	1.05407071	[1368] amarok: END__: CurrentEngine::resultReady - Took 0s 	
00000052	1.05412614	[1368] amarok: BEGIN: CurrentEngine::resultReady 	
00000053	1.05418742	[1368] amarok: END__: CurrentEngine::resultReady - Took 0s 	
00000054	1.05431855	[1368] amarok: BEGIN: CurrentEngine::resultReady 	
00000055	1.05436683	[1368] amarok: END__: CurrentEngine::resultReady - Took 0s 	
00000056	1.05444753	[1368] amarok: BEGIN: CurrentEngine::resultReady 	
00000057	1.05450511	[1368] amarok: END__: CurrentEngine::resultReady - Took 0s 	
00000058	1.05457020	[1368] amarok: BEGIN: CurrentEngine::setupTracksData 	
00000059	1.05462110	[1368] amarok: END__: CurrentEngine::setupTracksData - Took 0s 	
00000060	1.05468416	[1368] amarok: BEGIN: CurrentEngine::setupTracksData 	
00000061	1.05473948	[1368] amarok: END__: CurrentEngine::setupTracksData - Took 0s 	
00000062	1.05480540	[1368] amarok: BEGIN: CurrentEngine::resultReady 	
00000063	1.05485868	[1368] amarok: END__: CurrentEngine::resultReady - Took 0s 	
00000064	1.05491960	[1368] amarok: BEGIN: CurrentEngine::resultReady 	
00000065	1.05497670	[1368] amarok: END__: CurrentEngine::resultReady - Took 0s 	
00000066	1.05504000	[1368] amarok: BEGIN: CurrentEngine::setupTracksData 	
00000067	1.05509067	[1368] amarok: END__: CurrentEngine::setupTracksData - Took 0s 	
00000068	1.05515659	[1368] amarok: BEGIN: CurrentEngine::setupTracksData 	
00000069	1.05529475	[1368] amarok: END__: CurrentEngine::setupTracksData - Took 0s 	
00000070	1.05556870	[1368] amarok: BEGIN: CurrentTrack::dataUpdated 	
00000071	1.05912375	[1368] amarok: END__: CurrentTrack::dataUpdated - Took 0s 	
00000072	1.06375289	[1368] amarok: BEGIN: CurrentTrack::constraintsEvent 	
00000073	1.07423329	[1368] amarok: END__: CurrentTrack::constraintsEvent - Took 0.016s 	
00000074	2.09779263	[1368] amarok: BEGIN: EngineController::slotStopFadeout 	
00000075	2.11610746	[1368] amarok: END__: EngineController::slotStopFadeout - Took 0.031s 	
00000076	2.17198563	[1368] amarok: BEGIN: EngineController::slotStateChanged 	
00000077	2.17202377	[1368] amarok: BEGIN: EngineSubject::stateChangedNotify 	
00000078	2.17224884	[1368] amarok: END__: EngineSubject::stateChangedNotify - Took 0s 	
00000079	2.17245603	[1368] amarok: END__: EngineController::slotStateChanged - Took 0s 	
00000080	2.20630383	[1368] amarok: BEGIN: EngineController::slotStateChanged 	
00000081	2.20651388	[1368] amarok: BEGIN: EngineSubject::stateChangedNotify 	
00000082	2.20668840	[1368] amarok: BEGIN: MainWindow::engineStateChanged 	
00000083	2.20686221	[1368] amarok:       [MainWindow] Phonon state:  2 	
00000084	2.20702791	[1368] amarok:       [MainWindow] [WARNING!] currentTrack is 0. Can't subscribe to it! 	
00000085	2.20724463	[1368] amarok: END__: MainWindow::engineStateChanged - Took 0s 	
00000086	2.20740676	[1368] amarok: BEGIN: ProgressWidget::engineStateChanged 	
00000087	2.20760202	[1368] amarok: END__: ProgressWidget::engineStateChanged - Took 0s 	
00000088	2.20777869	[1368] amarok: BEGIN: Context::ContextView::engineStateChanged 	
00000089	2.20795131	[1368] amarok: BEGIN: CurrentEngine::message 	
00000090	2.20811749	[1368] amarok: BEGIN: CurrentEngine::update 	
00000091	2.20832992	[1368] amarok: END__: CurrentEngine::update - Took 0s 	
00000092	2.20851350	[1368] amarok: END__: CurrentEngine::message - Took 0s 	
00000093	2.20870137	[1368] amarok: END__: Context::ContextView::engineStateChanged - Took 0s 	
00000094	2.20900583	[1368] amarok: BEGIN: Amarok::OSD::engineStateChanged 	
00000095	2.20927525	[1368] amarok: BEGIN: Amarok::OSD::metadataChanged 	
00000096	2.21033645	[1368] amarok: BEGIN: OSDWidget::show 	
00000097	2.35127521	[1368] amarok: END__: OSDWidget::show - Took 0.14s 	
00000098	2.35145116	[1368] amarok: END__: Amarok::OSD::metadataChanged - Took 0.14s 	
00000099	2.35161972	[1368] amarok: END__: Amarok::OSD::engineStateChanged - Took 0.14s 	
00000100	2.35177732	[1368] amarok: BEGIN: Amarok::PlayPauseAction::engineStateChanged 	
00000101	2.35191321	[1368] amarok:        NEWSTATE:  2 OLDSTATE:  1 	
00000102	2.35199356	[1368] amarok: END__: Amarok::PlayPauseAction::engineStateChanged - Took 0.016s 	
00000103	2.35203862	[1368] amarok: BEGIN: StatusBar::engineStateChanged 	
00000104	2.35208130	[1368] amarok:        PlayingState: clear text 	
00000105	2.35265422	[1368] amarok: END__: StatusBar::engineStateChanged - Took 0s 	
00000106	2.35772038	[1368] amarok: END__: EngineSubject::stateChangedNotify - Took 0.16s 	
00000107	2.35808635	[1368] amarok: END__: EngineController::slotStateChanged - Took 0.16s
Comment 1 Bjoern Schroeder 2009-03-13 11:55:16 UTC
The fade-out is responsible for that. As workaround, disable fadeout (Under Configuration) and try if it works then (it helped me).
I think thats phonon related, but not quite sure.
Comment 2 Mark Kretschmann 2009-03-13 12:18:10 UTC
This is definitely a Phonon (or rather: Phonon backend) issue. I could reassign it to Phonon, but it might already be reported (or fixed).

Could you check for dupes? Then we can decide.
Comment 3 Myriam Schweingruber 2009-05-15 13:59:33 UTC
Amy news on this? I reassign to phonon as nobody here at Amarok seems to know more.
Comment 4 Myriam Schweingruber 2009-11-08 20:02:24 UTC

*** This bug has been marked as a duplicate of bug 172550 ***