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 687831 - Pressing "play" should launch the last used media player
Pressing "play" should launch the last used media player
Status: RESOLVED OBSOLETE
Product: gnome-settings-daemon
Classification: Core
Component: media-keys
3.7.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
3.10
Depends on:
Blocks:
 
 
Reported: 2012-11-07 09:23 UTC by Allan Day
Modified: 2019-03-20 11:05 UTC
See Also:
GNOME target: ---
GNOME version: 3.7/3.8



Description Allan Day 2012-11-07 09:23:37 UTC
Many keyboards and laptops come with hard media keys that can be used to play, pause, and skip music. If a media player isn't running, pressing one of these keys with GNOME 3 results in an OSD with a big "not allowed" symbol on it - this is both unfriendly and confusing (see bug 680929).

It would be much better to launch the default media player if someone uses one of these keys. Bug 644302 may provide a solution to this, but I didn't want to specify a particular technical solution here.
Comment 1 Bastien Nocera 2012-11-07 09:38:12 UTC
(In reply to comment #0)
> Many keyboards and laptops come with hard media keys that can be used to play,
> pause, and skip music. If a media player isn't running, pressing one of these
> keys with GNOME 3 results in an OSD with a big "not allowed" symbol on it -
> this is both unfriendly and confusing (see bug 680929).

Given that I received *1* report about it being confusing, it must not be that much. The icon used is the same one used on DVD players when an action can't be performed.

> It would be much better to launch the default media player if someone uses one
> of these keys.

The music player or the video player? We don't have a "media" player.

>Bug 644302 may provide a solution to this, but I didn't want to
> specify a particular technical solution here.

I don't think it's one bit relevant. There's still nothing to do when the player isn't running.
Comment 2 Allan Day 2012-11-07 09:51:10 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > Many keyboards and laptops come with hard media keys that can be used to play,
> > pause, and skip music. If a media player isn't running, pressing one of these
> > keys with GNOME 3 results in an OSD with a big "not allowed" symbol on it -
> > this is both unfriendly and confusing (see bug 680929).
> 
> Given that I received *1* report about it being confusing, it must not be that
> much. The icon used is the same one used on DVD players when an action can't be
> performed.

Whether it's confusing or not, it's unhelpful, and it isn't pleasant behaviour.

> > It would be much better to launch the default media player if someone uses one
> > of these keys.
> 
> The music player or the video player? We don't have a "media" player.

The music app.

> >Bug 644302 may provide a solution to this, but I didn't want to
> > specify a particular technical solution here.
> 
> I don't think it's one bit relevant. There's still nothing to do when the
> player isn't running.

OK.
Comment 3 Bastien Nocera 2012-11-14 16:33:16 UTC
- Rew/Ffwd and others should not do anything (that includes removing the popup)
- Play and Play/Pause should by default launch the last used media-player (app_name.desktop should be enough, otherwise look into extending API).
Comment 4 William Jon McCann 2012-11-14 19:33:46 UTC
Would it play the last played thing, pick something randomly, something else?
Comment 5 Bastien Nocera 2012-11-14 21:54:40 UTC
(In reply to comment #4)
> Would it play the last played thing, pick something randomly, something else?

I would expect it to restart the last session where it left off.

This is the same behaviour as on OSX (though it only ever launches iTunes) and iOS (where it remembers the last "player" used, and launches that when you press play or plug it in an audio enabled dock).
Comment 6 Xavier Claessens 2012-12-06 09:39:32 UTC
If last thing I did is watching a video, I would still want "play" to start rhythmbox.
Comment 7 GNOME Infrastructure Team 2019-03-20 11:05:08 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/194.