Bug 428027
| Summary: | multimedia keys broke in gnome | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Bill Nottingham <notting> |
| Component: | rhythmbox | Assignee: | Bastien Nocera <bnocera> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | rstrode, rvokal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-02-19 04:10:27 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Bill Nottingham
2008-01-08 19:42:30 UTC
(In reply to comment #0) > Description of problem: > > Multimedia keys (next/previous, play, pause, stop) are broken in totem and > rhythmbox. If I go into the keyboard shortcuts menu and attempt to set them, > they are set to the same values they were before when I hit the keys, so the > keys appear to still be generating the same keysym. We don't change the keysyms anymore, because it was even more broken. What do you mean by "don't work"? Nothing happens when they're pressed. Are you saying the shortcut prefs are ignored? (In reply to comment #2) > Nothing happens when they're pressed. > > Are you saying the shortcut prefs are ignored? The shortcut prefs are handled by the D-Bus service in gnome-settings-daemon. Please check whether the output of "dbus-monitor --session --monitor" shows the key presses appearing, for example: signal sender=:1.1 -> dest=(null destination) path=/org/gnome/SettingsDaemon; interface=org.gnome.SettingsDaemon; member=MediaPlayerKeyPressed string "Rhythmbox" string "Pause" Pressing the keys shows nothing in dbus-monitor. Theory from Bastien is it broke from the patch in http://bugzilla.gnome.org/show_bug.cgi?id=165343 On my system totem works with multimedia keys, but rhythmbox does not. This is on fedora alhpa 1 with all updates applied. With Rhtyhmbox running i get this: signal sender=:1.1 -> dest=(null destination) path=/org/gnome/SettingsDaemon/MediaKeys; interface=org.gnome.SettingsDaemon.MediaKeys; member=MediaPlayerKeyPressed string "" string "Play" And with totem running instead I get this: signal sender=:1.1 -> dest=(null destination) path=/org/gnome/SettingsDaemon/MediaKeys; interface=org.gnome.SettingsDaemon.MediaKeys; member=MediaPlayerKeyPressed string "Totem" string "Play" method call sender=:1.40 -> dest=:1.3 path=/org/gnome/ScreenSaver; interface=org.gnome.ScreenSaver; member=Inhibit string "Totem" string "Playing a movie" method return sender=:1.3 -> dest=:1.40 reply_serial=33 uint32 1972705658 I have special keys on the keyboard for play,next,previous so there are no keys like "Fn" involved. Bill, is your experience consistent with that in current rawhide? Note that the patch Ray mentioned in comment #5 has been reverted in the gnome-settings-daemon version we have in rawhide, so if it works again, thats why. Yes, totem works, rhythmbox does not. Look at the plugins in rhythmbox and totem:
rhythmbox:
plugin->proxy = dbus_g_proxy_new_for_name (bus,
"org.gnome.SettingsDaemon.MediaKeys",
"/org/gnome/SettingsDaemon/MediaKeys",
"org.gnome.SettingsDaemon.MediaKeys");
totem:
pi->media_player_keys_proxy =
dbus_g_proxy_new_for_name_owner (connection,
"org.gnome.SettingsDaemon",
"/org/gnome/SettingsDaemon/MediaKeys",
"org.gnome. n.MediaKeys",
NULL);
and indeed, debug output from a rhythmbox launch has:
(22:24:57) [0x900a478] [impl_activate] rb-mmkeys-plugin.c:286: activating media
player keys plugin
(22:24:57) [0x900a478] [impl_activate] rb-mmkeys-plugin.c:339:
org.gnome.SettingsDaemon.MediaKeys dbus service not found
Should be fixed in rhythmbox-0.11.4-9.fc9 |