GNOME Bugzilla – Bug 696981
many keyboard shortcuts stopped working with 3.8.0 on Ubuntu
Last modified: 2013-04-02 22:55:25 UTC
Ubuntu 13.04 with gnome-shell 3.8.0.1, mutter 3.8.0, gjs 1.36.0, gdm 3.7.90 After upgrading gnome-shell and mutter from 3.7.92 to 3.8.0, many system keyboard shortcuts aren't working correctly. $ gsettings get org.gnome.settings-daemon.plugins.media-keys active true Does nothing ============ - Super - Alt+F1 - Alt+F2 - volume or brightness "media keys" on my laptop - Ctrl+Alt+l (lock the screen) - Ctrl+Alt+t (custom Ubuntu default shortcut to launch a terminal) - Ctrl+Alt+Delete - Selecting Log Out from the user menu (Lock, Switch User, and Suspend works though) Works ===== - Super+A - Alt+Tab and Super_Tab with or without shift (except that they both activate the same 3.6 style app-based window switcher instead of Alt-Tab activating the GNOME 2 style window-based window switcher) - Super+ ← and Super + → - Keyboard shortcuts in apps (ctrl+c, ctrl+t, etc.) I have tried with gnome-settings-daemon 3.8.0 (although for the GNOME3 PPA we'd prefer to be able to use gnome-settings-daemon 3.6.4 since g-c-c/g-s-d 3.8 brings a lot of regressions to Unity and the gnome-panel session)
Well, that gnome-settings-daemon 3.6.* with mutter 3.8 is broken there is no doubt, the keybinding handling was reworked completely to allow OSDs and shortcuts in the overview. If gsd 3.8 doesn't work, otoh, there's a problem - but first, how much downstream patching did you apply? Are you still pulling from GConf, for example?
Created attachment 240242 [details] ubuntu packaging (In reply to comment #1) > If gsd 3.8 doesn't work, otoh, there's a problem - but first, how much > downstream patching did you apply? Are you still pulling from GConf, for > example? Yes, Ubuntu has several patches against g-s-d. Except for a notify-osd patch which I disabled since it will need to be refactored now, the only other relevant patch to me looks like https://bazaar.launchpad.net/~ubuntu-desktop/gnome-settings-daemon/ubuntu/view/head:/debian/patches/correct_logout_action.patch which wouldn't cause all of these side effects. We haven't used gconf for g-s-d/g-c-c since 12.04 LTS. I'm attaching the debian/ packaging directory if you wanted to look through it.
48_register_client_before_idle_callbacks.patch seems suspicious too. Maybe it causes a race between gnome-shell and gnome-settings-daemon, so that the latter fails to construct the proxy for the former?
That patch was already commented out. This is the list from debian/patches/series: 05_disable_corner_tapping.patch #16_use_synchronous_notifications.patch 43_disable_locale_settings.patch 45_suppress-printer-may-not-be-connected-notification.patch #48_register_client_before_idle_callbacks.patch #51_lock_screen_on_suspend.patch revert_background_dropping.patch 52_sync_background_to_accountsservice.patch #62_unity_disable_gsd_printer.patch 64_restore_terminal_keyboard_shortcut_schema.patch 90_set_gmenus_xsettings.patch disable_three_touch_tap.patch correct_logout_action.patch power-check-null-devices.patch #revert_new_ibus_use.patch migrate_metacity_keys.patch touchscreen_rotation.patch nexus-orientation.patch
(In reply to comment #1) > Well, that gnome-settings-daemon 3.6.* with mutter 3.8 is broken there is no > doubt, the keybinding handling was reworked completely to allow OSDs and > shortcuts in the overview. Actually no, that case is expected to work as good/bad as before (with the new keybindings/OSD APIs just being unused); only the case of using gnome-settings-daemon 3.8 with gnome-shell/mutter 3.6.x is definitively broken. Regarding the issue at hand, I'm afraid I don't have any quick ideas of what could be wrong: (In reply to comment #0) > After upgrading gnome-shell and mutter from 3.7.92 to 3.8.0, many system > keyboard shortcuts aren't working correctly. So the keybinding changes are not only expected to work with an older gnome-settings-daemon, they also happened before 3.7.92; skimming through the logs, nothing in either gnome-shell or mutter looks related ... > Does nothing > ============ > - Super > - Alt+F1 > - Alt+F2 ... and those three shortcuts have always been implemented in mutter - their handling has not changed much this cycle, and not since 3.7.2. > - Ctrl+Alt+l (lock the screen) Off-topic for this bug, but note that screen locking is now disabled for session not started by GDM. > Works > ===== > - Alt+Tab and Super_Tab with or without shift (except that they both activate > the same 3.6 style app-based window switcher instead of Alt-Tab activating the > GNOME 2 style window-based window switcher) That is expected, by default both shortcuts trigger the same action.
Ok, I'm not experiencing this bug with the upload darkxst did to the GNOME3 PPA today so I'm going to go ahead and close this bug. He said he had a similar problem a few weeks ago so I'm guessing there's some underlying worrisome issue going on here.