After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 792875 - Prefer MPRIS clients to g-s-d ones
Prefer MPRIS clients to g-s-d ones
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: media-keys
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2018-01-24 16:26 UTC by Bastien Nocera
Modified: 2018-02-03 00:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
media-keys: Fix grammar in comment (1.04 KB, patch)
2018-01-24 16:26 UTC, Bastien Nocera
committed Details | Review
media-keys: Track whether there is an MPRIS player running (3.91 KB, patch)
2018-01-24 16:26 UTC, Bastien Nocera
committed Details | Review
media-keys: Prefer MPRIS clients to g-s-d ones (2.04 KB, patch)
2018-01-24 16:26 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2018-01-24 16:26:14 UTC
.
Comment 1 Bastien Nocera 2018-01-24 16:26:19 UTC
Created attachment 367386 [details] [review]
media-keys: Fix grammar in comment
Comment 2 Bastien Nocera 2018-01-24 16:26:24 UTC
Created attachment 367387 [details] [review]
media-keys: Track whether there is an MPRIS player running
Comment 3 Bastien Nocera 2018-01-24 16:26:30 UTC
Created attachment 367388 [details] [review]
media-keys: Prefer MPRIS clients to g-s-d ones

When there is an MPRIS client, prefer it to clients using the
gnome-settings-daemon interface. MPRIS clients are always media clients,
and it's likely that the user wants the media keys to control music or
movie playback, rather than presentations.

This will make mixing and matching the 2 different types of clients
(for example, Spotify and Rhythmbox) always control the MPRIS client,
but it's more than likely what the users want.

See https://bugzilla.gnome.org/show_bug.cgi?id=789738
Comment 4 Bastien Nocera 2018-02-03 00:00:31 UTC
Attachment 367386 [details] pushed as 2e45c9b - media-keys: Fix grammar in comment
Attachment 367387 [details] pushed as be0fb71 - media-keys: Track whether there is an MPRIS player running
Attachment 367388 [details] pushed as 3a64890 - media-keys: Prefer MPRIS clients to g-s-d ones