Bug 373641 - Pause Player when screen gets locked.
Summary: Pause Player when screen gets locked.
Status: RESOLVED WORKSFORME
Alias: None
Product: kscreenlocker
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 5.5.95
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-14 11:57 UTC by Marius Orcsik
Modified: 2017-03-11 11:30 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Orcsik 2016-12-14 11:57:16 UTC
Add a setting for the screenlocker to send a pause command to the MPRIS player when the screen gets locked.
Comment 1 Kai Uwe Broulik 2016-12-14 12:49:45 UTC
Yeah, I'd like that option, too. Martin, what was the issue you had with this when I suggested that a couple of months ago?
Comment 2 Kai Uwe Broulik 2016-12-14 13:45:43 UTC
RFC patch https://phabricator.kde.org/D3674
Comment 3 Martin Flöser 2016-12-14 18:17:02 UTC
(In reply to Kai Uwe Broulik from comment #1)
> Yeah, I'd like that option, too. Martin, what was the issue you had with
> this when I suggested that a couple of months ago?

I think that pausing in general is wrong, rather offer full media controls
Comment 4 Marius Orcsik 2016-12-15 10:57:46 UTC
Martin, is it wrong even if the user selects this behaviour explicitly?

(I see Kai's patch includes a kcm configuration setting for this.)
Comment 5 Martin Flöser 2017-03-10 18:03:28 UTC
We now have media controls in the lock screen and offer the possibility to pause player when going to suspend. I think that is good enough for the use case.
Comment 6 Kai Uwe Broulik 2017-03-10 19:58:24 UTC
As I have stressed a couple of times I don't think media controls on the lock screen solve this and those two features are orthogonal to one another.
Comment 7 Marius Orcsik 2017-03-11 11:30:19 UTC
Even though I don't agree with Martin's closing of this issue, I can respect his decision.

However, to contrast this to the "media player controls in lock screen" feature:

The controls can be abused if authentication is not required. Somebody can unpause the  player while the user is not present and annoy everyone else around.

If, on the other hand, unpausing would require authentication, then we're just where we started, as the number of actions required becomes close to the one for a regular unlock followed by a regular pause.