gnome-shell/js/ui
Dan Winship 4dd4c9f99f Use more actor.grab_key_focus() and less stage.connect('key-press-event')
Until recently, the clutter keyboard focus was almost always kept on
the stage, and bits of code that wanted to do stuff with the keyboard
would just watch for key-press-events on the stage. In several places,
the code wasn't even bothering to ensure that the focus was on the
stage, which caused problems with other actors that explicitly grabbed
focus.

A previous fix for this (f21403fd) was to always reset the focus to
the stage after calling pushModal(), but a better fix is to just
actually make use of the keyboard focus everywhere rather than having
everyone try to read events off the stage.

Now pushModal(actor) also does actor.grab_key_focus(), and various
bits of code have been changed to read key events off their own
toplevels rather than off the stage, meaning there's no chance of them
accidentally getting someone else's events.

https://bugzilla.gnome.org/show_bug.cgi?id=618885
2010-12-20 17:32:07 -05:00
..
status BluetoothStatus: s/Ok/OK in user visible button 2010-12-20 22:07:28 +01:00
altTab.js Use more actor.grab_key_focus() and less stage.connect('key-press-event') 2010-12-20 17:32:07 -05:00
appDisplay.js app-display: Implement filtering applications by category 2010-12-18 22:23:33 +03:00
appFavorites.js dash: Improve DND to dash and allow reordering 2010-11-29 16:35:54 +01:00
boxpointer.js boxpointer: don't draw the arrow overlapping the corners 2010-11-30 07:14:20 -05:00
calendar.js calendar: Take week start and month/year ordering from GTK+-3 2010-11-29 22:47:14 +01:00
chrome.js Adapt to removal of Mutter namespace 2010-10-23 14:02:45 -04:00
dash.js dash: Improve DND to dash and allow reordering 2010-11-29 16:35:54 +01:00
dnd.js messageTray: make links in message banners clickable 2010-11-24 02:38:08 +03:00
docDisplay.js Clean up unused includes 2010-07-19 01:46:01 +02:00
environment.js environment: Get text direction from GTK+-3 2010-11-29 22:00:37 +01:00
extensionSystem.js extensionSystem: Don't load extensions multiple times 2010-10-18 12:28:36 -04:00
genericDisplay.js Clean up unused includes 2010-07-19 01:46:01 +02:00
iconGrid.js iconGrid: Exclude hidden children from the layout 2010-12-18 22:23:38 +03:00
lightbox.js Clean up unused includes 2010-07-19 01:46:01 +02:00
link.js Clean up unused includes 2010-07-19 01:46:01 +02:00
lookingGlass.js Use more actor.grab_key_focus() and less stage.connect('key-press-event') 2010-12-20 17:32:07 -05:00
magnifier.js magnifier: Fix DND when the magnifier is active 2010-12-03 20:38:25 +01:00
magnifierDBus.js Refactor Magnifier.ZoomRegion to avoid permanent Clutter.Clone 2010-12-03 14:21:57 -05:00
main.js Use more actor.grab_key_focus() and less stage.connect('key-press-event') 2010-12-20 17:32:07 -05:00
messageTray.js Use more actor.grab_key_focus() and less stage.connect('key-press-event') 2010-12-20 17:32:07 -05:00
notificationDaemon.js NotificationDaemon: add support for transient notifications 2010-12-16 15:50:29 -05:00
overview.js shell-info: Use transient notifications 2010-12-16 22:55:11 +01:00
panel.js Bluetooth status indicator 2010-12-18 19:10:15 +01:00
panelMenu.js PopupMenu: handle submenus inline 2010-12-20 17:46:31 +01:00
placeDisplay.js overview: Replace InfoBar with message tray notifications 2010-11-29 02:25:15 +01:00
popupMenu.js PopupMenu: restore the arrow when fast closing the menu 2010-12-20 18:16:59 +01:00
runDialog.js Clean up unused includes 2010-07-19 01:46:01 +02:00
scripting.js Clean up unused includes 2010-07-19 01:46:01 +02:00
search.js search-display: Change the default display to use iconGrid 2010-11-29 16:35:53 +01:00
searchDisplay.js search-display: Change the default display to use iconGrid 2010-11-29 16:35:53 +01:00
shellDBus.js Clean up unused includes 2010-07-19 01:46:01 +02:00
statusIconDispatcher.js Handle new name for gnome-volume-control-applet 2010-11-15 18:45:36 -05:00
statusMenu.js statusMenu: Force the overview mode of the settings 2010-12-03 14:43:56 +00:00
telepathyClient.js [l10n] force no-c-format for "sent at ..." message 2010-12-13 23:12:51 +01:00
tweener.js Move Tweener.slowDownFactor into St 2010-06-21 16:19:25 +02:00
viewSelector.js Use more actor.grab_key_focus() and less stage.connect('key-press-event') 2010-12-20 17:32:07 -05:00
windowAttentionHandler.js MessageTray: untangle click notifications 2010-10-12 17:21:58 -04:00
windowManager.js window-manager: Swap workspace order for RTL locales 2010-12-03 18:25:49 +01:00
workspace.js Overview: Remove invisible animations 2010-12-16 20:24:08 +01:00
workspacesView.js workspace-indicators: Add hover indication 2010-11-29 16:35:54 +01:00
workspaceSwitcherPopup.js window-manager: Swap workspace order for RTL locales 2010-12-03 18:25:49 +01:00