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 469394 - Show media playback popup when no application listening
Show media playback popup when no application listening
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: media-keys
2.22.x
Other All
: Normal enhancement
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2007-08-22 21:20 UTC by Kevin Duffus
Modified: 2011-04-28 16:11 UTC
See Also:
GNOME target: 3.2
GNOME version: Unversioned Enhancement



Description Kevin Duffus 2007-08-22 21:20:10 UTC
Please add new pop-ups for the playback multi-media keys (Play/Pause, Stop, Next, Previous) similar to that showed for modifying the volume levels. For example:

/-------------\
| |\    / | | |
| | \  /  | | |
| | / /   | | |
| |/ /    | | |
|             |
|  Play/Pause |
\-------------/
Comment 1 Bastien Nocera 2009-09-09 11:17:17 UTC
You should already be getting feedback about those keys from the application itself. I don't think this is useful to add to gnome-settings-daemon, as it would clash with application-provided OSD as well.

Though we could show it when there's no listeners for the signal, that way you'd check that the keys are working.
Comment 2 Bastien Nocera 2010-11-06 18:14:02 UTC
Now that we can track listeners properly (and remove them automatically if they go away ungracefully), this should be an easy task to achieve.

if (manager->priv->media_players == NULL) {
  show_popup()
  return;
}
Comment 3 Bastien Nocera 2011-03-14 16:52:25 UTC
As discussed today on #gnome-design, we'd want to have some feedback that keys won't be doing anything, but using something other than the actual icons.

Jakub mentioned the (/) icon used in road traffic signs, which DVD players use when you can't skip a portion of the video. It would fit right into it.
Comment 4 Bastien Nocera 2011-04-28 16:11:24 UTC
Fixed on master.

commit 564b3ba94167f1b89f0e895d7930f719c0746b6b
Author: Bastien Nocera <hadess@hadess.net>
Date:   Thu Apr 28 17:09:52 2011 +0100

    media-keys: Show a popup when no media player is running
    
    So that the user knows that no applications are there
    to receive the event.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=469394