I use Phonon to switch devices when I want to switch between headphones and speakers. I do this by changing the order of preference in Phonon configuration. When I move the speakers output higher than headphones output (i.e. switching from headphones to speakers) Amarok immediately starts playing a song in the current playlist. Reproducible: always.
What state is Amarok in before you switch device, pause or stop? Also please make sure you do not have "Resume playback on start" activated.
Ah, I do apologise; I've got this wrong. It's when I close Mumble. The reason I misidentified the conditions is because I'm always switching back to speakers when closing Mumble (in fact this is the only time I do this). So what actually happens is Amarok resumes playback if it's paused and I close Mumble. However the setting "resume playback on start" is NOT checked. It doesn't happen if the state is stopped, although I usually pause instead of stop because left-clicking pause is a lot easier than right-clicking the tray icon and selecting stop.
How exactly do you close Mumble, with a shortcut? Then maybe it is a shortcut that does not respect the shortcuts list in Amarok. KDE apps and Plasma have a distinct list of global and private related shortcuts that are not necessarily respected by external application, which Mumble is.
No, I always click the X close button on the title bar of Mumble's window.
Just to be precise: the playback starts when paused as soon as you switch the Phonon output, right? Or when you actually close the Mumble application, which happens before or after the output device switch?
I've done some work to narrow it down. This is the only condition under which I can reliably reproduce the issue: Have Phonon set to prefer my headset for output. Have a song paused in Amarok (not stopped). "Resume playback on start" is not checked. Launch Mumble. Close Mumble. The song will then play. The issue does not appear if my soundcard is the preferred output, or if the song in Amarok is stopped. (Again, I apologise for my initial inaccurate report; I will be more thorough before submitting future bugs)
Thank you for the quick response, I updated the bug description accordingly, but I suspect this to be actually a Phonon issue, reassigning.
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
(In reply to Justin Zobel from comment #8) > Thank you for reporting this issue in KDE software. As it has been a while > since this issue was reported, can we please ask you to see if you can > reproduce the issue with a recent software version? > > If you can reproduce the issue, please change the status to "REPORTED" when > replying. Thank you! Sorry, I no longer use this combination of software so I guess I'll just close the bug.