Bug 424160 - "Pause media players when suspending" un-pauses already-paused music
Summary: "Pause media players when suspending" un-pauses already-paused music
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 5.18.5
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-13 14:53 UTC by Aaron
Modified: 2020-07-13 19:49 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron 2020-07-13 14:53:55 UTC
SUMMARY

When "Pause media players when suspending" is enabled, and current music playing is paused, suspending will un-pause the music, then pause it again. Upon resuming, the music will be un-paused.


STEPS TO REPRODUCE
1. Play music with a player that can be paused/un-paused through the system.
2. Pause the music.
3. In Advanced Power Management Settings, set "Pause media players when suspending" to "enabled".
4. Suspend the computer.
5. Resume

OBSERVED RESULT

Paused music plays for a second while suspending, then is paused again. Upon resuming, music automatically plays.


EXPECTED RESULT

Paused music stays paused after step 2 and does not resume.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.4.44-1-Manjaro
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION

My current workaround is to turn off the "pause media players when suspending" option. If I manually pause before suspending, then I have no problems. 

This sounds related to 423317, but does not just involve Android.
Comment 1 David Edmundson 2020-07-13 15:40:23 UTC
Can you confirm which media player(s) this happens with?
Comment 2 Aaron 2020-07-13 16:08:13 UTC
(In reply to David Edmundson from comment #1)
> Can you confirm which media player(s) this happens with?

It happens with Google Play Music Desktop Player and YouTube Music Desktop.
Comment 3 Kai Uwe Broulik 2020-07-13 19:47:48 UTC
Pause means Pause, not PlayPause. This is a player bug.